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

2015-07-08 Thread David Miller
From: Michael Holzheu holz...@linux.vnet.ibm.com Date: Mon, 6 Jul 2015 16:20:07 +0200 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

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

2015-07-06 Thread Alexei Starovoitov
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 Holzheuholz...@linux.vnet.ibm.com ---

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

2015-07-06 Thread Michael Holzheu
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 holz...@linux.vnet.ibm.com --- samples/bpf/bpf_helpers.h | 25 +