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 protected]>
---
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 protected]>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html