[lkml]   [2016]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it
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 <>
> Signed-off-by: Michael Holzheu <>

Looks good.
Acked-by: Alexei Starovoitov <>

Please resubmit it to net-next and cc Dave.

note that my @plumgrid email no longer vaid.

 \ /
  Last update: 2016-11-24 03:25    [W:0.067 / U:0.536 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site