Re: [PATCH] s390:ftrace: add save_stack_trace_regs()
From: Heiko Carstens
Date: Fri Jan 29 2016 - 07:58:07 EST
On Fri, Jan 29, 2016 at 09:54:47AM +0100, Heiko Carstens wrote:
> On Fri, Jan 29, 2016 at 10:50:28AM +0530, Pratyush Anand wrote:
> > Implement save_stack_trace_regs, so that stacktrace of a kprobe events can
> > be obtained.
> >
> > Without this we see following warning:
> > "save_stack_trace_regs() not implemented yet."
> > when we execute:
> > echo stacktrace > /sys/kernel/debug/tracing/trace_options
> > echo "p kfree" >> /sys/kernel/debug/tracing/kprobe_events
> > echo 1 > /sys/kernel/debug/tracing/events/kprobes/enable
> >
> > Reported-by: Chunyu Hu <chuhu@xxxxxxxxxx>
> > Signed-off-by: Pratyush Anand <panand@xxxxxxxxxx>
> > ---
>
> Thanks. I just figured out that the ftrace stack tracer doesn't work at all
> anymore on s390. I will apply your patch after I fixed that. ;)
Surpringly it wasn't one of my own patches which broke the stack tracer on
s390, but one from Steven:
72ac426a5bb0 ("tracing: Clean up stack tracing and fix fentry updates")
Now I only need to figure out why :)