From: Ingo Molnar <mingo@elte.hu>
To: "Frédéric Weisbecker" <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Tim Bird <tim.bird@am.sony.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] tracing/function-graph-tracer: improve duration output
Date: Wed, 3 Dec 2008 15:22:25 +0100 [thread overview]
Message-ID: <20081203142225.GA32267@elte.hu> (raw)
In-Reply-To: <c62985530812030511p7768dba0gce8cf84655b9ac35@mail.gmail.com>
* Frédéric Weisbecker <fweisbec@gmail.com> wrote:
> 2008/12/3 Steven Rostedt <rostedt@goodmis.org>:
> > Actually, I was also thinking of keeping the CPU number in front:
> >
> > ------------------------------------------
> > 0) cat-2796 => events/-9
> > ------------------------------------------
> >
> > This way we can easily grep for a common CPU and still get the context
> > switches:
> >
> > grep '^0)' trace > /tmp/trace0
>
> I agree. More easy to grep. Ingo, Peter, others, what do you think?
sure.
> > Of course it will probably also work without the '^' now, but then it
> > might grab ftrace_printks with a '0)' if we add those.
>
>
> I proposed a solution for ftrace_printk (which I planned to implement
> this evening). Since we are in a C-style output, that would be good to
> put the ftrace_printk as /* C comments */ inside just below the
> function that called it. Like this:
>
> func_that_called_ftrace_printk {
> /* Message from ftrace_printk */
> }
>
> This way we keep the idea of comment which comes along the role of
> ftrace_printk and we know
> which function called it, at which depth.....
>
> Do you like it this way?
yeah, that would be lovely to have too.
Ingo
prev parent reply other threads:[~2008-12-03 14:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 1:32 [PATCH 2/2] tracing/function-graph-tracer: improve duration output Frederic Weisbecker
2008-12-03 1:34 ` Frederic Weisbecker
2008-12-03 8:19 ` Ingo Molnar
2008-12-03 8:33 ` Ingo Molnar
2008-12-03 10:07 ` Frédéric Weisbecker
2008-12-03 10:21 ` Peter Zijlstra
2008-12-03 10:23 ` Frédéric Weisbecker
2008-12-03 10:27 ` Peter Zijlstra
2008-12-03 10:29 ` Frédéric Weisbecker
2008-12-03 11:52 ` Steven Rostedt
2008-12-03 13:11 ` Frédéric Weisbecker
2008-12-03 13:17 ` Peter Zijlstra
2008-12-03 13:21 ` Steven Rostedt
2008-12-03 15:44 ` Frédéric Weisbecker
2008-12-03 16:31 ` Steven Rostedt
2008-12-03 14:22 ` Ingo Molnar [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=20081203142225.GA32267@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=tim.bird@am.sony.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