On Thu, 26 Mar 2015 09:39:23 +0900
Namhyung Kim <[email protected]> wrote:

> When 'stacktrace' trigger is used for event tracing, it should skip 4
> functions instead of 3.  Otherwise it'll contain ftrace_raw_event_XXX
> like below:
> 
>   # echo stacktrace > events/sched/sched_switch/trigger
>   # tail trace
>    => rcu_gp_kthread
>    => kthread
>    => ret_from_fork
>        ksoftirqd/0-3     [000] d..3    53.343993: <stack trace>
>    => ftrace_raw_event_sched_switch
>    => __schedule
>    => schedule
>    => smpboot_thread_fn
>    => kthread
>    => ret_from_fork
> 
> Reported-by: Minchan Kim <[email protected]>
> Cc: Tom Zanussi <[email protected]>
> Signed-off-by: Namhyung Kim <[email protected]>
> ---

Hmm, this breaks when frame pointers are not enabled.

I may come up with something though.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to