Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528928
| From | Alexei Starovoitov <alexei.starovoitov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it |
| Date | 2016-11-24 03:30 +0100 |
| Message-ID | <sGRXs-4H1-3@gated-at.bofh.it> (permalink) |
| References | <sGHEJ-6Bn-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Nov 23, 2016 at 04:28:39PM +0100, Michael Holzheu wrote: > The files "sampleip_kern.c" and "trace_event_kern.c" directly access > "ctx->regs.ip" which is not available on s390x. Fix this and use the > PT_REGS_IP() macro instead. > > Besides of that also fix the macro for s390x and use psw.addr from pt_regs. > > Reported-by: Zvonko Kosic <zvonko.kosic@de.ibm.com> > Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Looks good. Acked-by: Alexei Starovoitov <ast@kernel.org> Please resubmit it to net-next and cc Dave. note that my @plumgrid email no longer vaid.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it Michael Holzheu <holzheu@linux.vnet.ibm.com> - 2016-11-23 16:30 +0100 Re: [PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-11-24 03:30 +0100
csiph-web