From: Steven Rostedt <rostedt@goodmis.org>
To: Namhyung Kim <namhyung@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Tom Zanussi <tom.zanussi@linux.intel.com>,
Minchan Kim <minchan@kernel.org>
Subject: Re: [PATCH] tracing: Increase stack skip on event trigger
Date: Mon, 13 Apr 2015 18:06:06 -0400 [thread overview]
Message-ID: <20150413180606.3cc13a7d@gandalf.local.home> (raw)
In-Reply-To: <1427330363-17733-1-git-send-email-namhyung@kernel.org>
On Thu, 26 Mar 2015 09:39:23 +0900
Namhyung Kim <namhyung@kernel.org> 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 <minchan@kernel.org>
> Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> ---
Hmm, this breaks when frame pointers are not enabled.
I may come up with something though.
-- Steve
prev parent reply other threads:[~2015-04-13 22:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 0:39 Namhyung Kim
2015-04-13 22:06 ` Steven Rostedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150413180606.3cc13a7d@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minchan@kernel.org \
--cc=namhyung@kernel.org \
--cc=tom.zanussi@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®