Subject: Re: [PATCH] samples: bpf: enable trace samples for s390x

From: Alexei Starovoitov <[email-masked]>
Date: Mon, 06 Jul 2015 12:28:03 -0700

On 7/6/15 7:20 AM, Michael Holzheu wrote:
> The trace bpf samples do not compile on s390x because they use x86
> specific fields from the "pt_regs" structure.
>
> Fix this and access the fields via new PT_REGS macros.
>
> Signed-off-by: Michael Holzheu<[email-masked]>
> ---
>   samples/bpf/bpf_helpers.h  | 25 +++++++++++++++++++++++++
>   samples/bpf/tracex1_kern.c |  2 +-
>   samples/bpf/tracex2_kern.c |  6 +++---
>   samples/bpf/tracex3_kern.c |  4 ++--
>   samples/bpf/tracex4_kern.c |  6 +++---
>   samples/bpf/tracex5_kern.c |  6 +++---
>   6 files changed, 37 insertions(+), 12 deletions(-)

Looks good. Thanks!
Acked-by: Alexei Starovoitov <[email-masked]>