From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Abhishek Sagar <sagar.abhishek@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ftrace: distinguish kretprobe'd functions in trace logs
Date: Mon, 2 Jun 2008 12:41:50 +0200 [thread overview]
Message-ID: <20080602104150.GB898@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.58.0805271442090.396@gandalf.stny.rr.com>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> On Wed, 28 May 2008, Abhishek Sagar wrote:
> >
> > But if irq_enter() has a kretprobe installed on it, the return value stored on the stack at each invocation is modified to divert the return to a kprobe trampoline function called kretprobe_trampoline(). So with this the trace would (currently) look like:
> >
> > <idle>-0 [00] 4154504455.781616: irq_enter <- kretprobe_trampoline
> >
> > Now this is quite misleading to the end user, as it suggests something that didn't actually happen. So just to avoid such misinterpretations, the inlined patch aims to output such a log as:
> >
> > <idle>-0 [00] 4154504455.781616: irq_enter <- [unknown/kretprobe'd]
> >
> >
> > Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
>
> Thanks Abhishek,
>
> Acked-by: Steven Rostedt <srostedt@redhat.com>
applied to tip/tracing/ftrace, thanks.
Ingo
next prev parent reply other threads:[~2008-06-02 10:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 18:33 Abhishek Sagar
2008-05-27 18:48 ` Steven Rostedt
2008-06-02 10:41 ` Ingo Molnar [this message]
2008-10-31 2:30 ` Steven Rostedt
2008-10-31 14:36 ` Steven Rostedt
2008-10-31 15:32 ` Abhishek Sagar
2008-10-31 15:50 ` Steven Rostedt
2008-10-31 19:33 ` Abhishek Sagar
2008-10-31 19:44 ` [PATCH] ftrace: use kretprobe trampoline name to test in output Steven Rostedt
2008-11-03 9:41 ` Ingo Molnar
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=20080602104150.GB898@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=sagar.abhishek@gmail.com \
--cc=tglx@linutronix.de \
/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®