[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <559AD6C3.20803@plumgrid.com>
Date: Mon, 06 Jul 2015 12:28:03 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: Michael Holzheu <holzheu@...ux.vnet.ibm.com>,
David Miller <davem@...emloft.net>
CC: Martin Schwidefsky <schwidefsky@...ibm.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] samples: bpf: enable trace samples for s390x
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<holzheu@...ux.vnet.ibm.com>
> ---
> 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 <ast@...mgrid.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists