From: Alexei Starovoitov <ast@plumgrid.com>
To: Michael Holzheu <holzheu@linux.vnet.ibm.com>,
David Miller <davem@davemloft.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
netdev@vger.kernel.org
Subject: Re: [PATCH] samples: bpf: enable trace samples for s390x
Date: Mon, 06 Jul 2015 12:28:03 -0700 [thread overview]
Message-ID: <559AD6C3.20803@plumgrid.com> (raw)
In-Reply-To: <20150706162007.69824718@holzheu>
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@linux.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@plumgrid.com>
next prev parent reply other threads:[~2015-07-06 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 14:20 [PATCH] samples: bpf: enable trace samples for s390x Michael Holzheu
2015-07-06 19:28 ` Alexei Starovoitov [this message]
2015-07-08 22:17 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=559AD6C3.20803@plumgrid.com \
--to=ast@plumgrid.com \
--cc=davem@davemloft.net \
--cc=heiko.carstens@de.ibm.com \
--cc=holzheu@linux.vnet.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.