[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161128.162706.282319625743711116.davem@davemloft.net>
Date: Mon, 28 Nov 2016 16:27:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: holzheu@...ux.vnet.ibm.com
Cc: ast@...nel.org, netdev@...r.kernel.org, heiko.carstens@...ibm.com,
schwidefsky@...ibm.com
Subject: Re: [PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it
From: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
Date: Mon, 28 Nov 2016 13:48:30 +0100
> 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.
>
> Also fix the macro for s390x and use "psw.addr" from "pt_regs".
>
> Reported-by: Zvonko Kosic <zvonko.kosic@...ibm.com>
> Signed-off-by: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists