From: Michael Holzheu
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_reg
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
Signed-off-by: Michael Holzheu
Acked-by