From: Andrew Morton <akpm@linux-foundation.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: hch@infradead.org, penberg@cs.helsinki.fi,
linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
arjan@infradead.org, John Levon <levon@movementarian.org>,
Philippe Elie <phil.el@wanadoo.fr>
Subject: Re: [v2.6.26] what's brewing in x86.git for v2.6.26
Date: Thu, 17 Apr 2008 12:57:01 -0700 [thread overview]
Message-ID: <20080417125701.83849f30.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080417185158.GA26603@elte.hu>
On Thu, 17 Apr 2008 20:51:58 +0200
Ingo Molnar <mingo@elte.hu> wrote:
>
> * Andrew Morton <akpm@linux-foundation.org> wrote:
>
> > afaik the sysprof-vs-oprofile issue still hasn't been settled. Maybe
> > it's no longer a relevant question with the new code - I just don't
> > know. Everything went all quiet and then this stuff happened.
>
> i dont think there's any big issue here. Sysprof is a time and stack
> system-wide tracer/profiler, oprofile profiles CPU events - deep
> stacktracing is an afterthought there. And how do you set up oprofile to
> do precise time events?
>
> with sysprof you can do:
>
> cd /sys/kernel/debug/tracing
> echo sysprof > current_tracer
> cat trace_pipe
>
> and you'll see the trace events go by, live. The user-space bits of
> sysprof have been ported over to ftrace/sysprof already and it's a
> really nice tool that shows a deep stack-trace based hierarchical
> "vertical" profile instead of the usual finegrained profile.
Well that's all good to hear but I don't know where you're getting your
information from. In the past month and a half I've seen zero email from
Soeren and a single ftrace-related patch.
So right now I do not have enough information to understand what ftrace
does, let alone to compare it with oprofile.
And this is a problem. I, probably more than anyone else, work with bug
reporters on kernel problems and I am not in a position to be able to
direct them to use an important new tool. There isn't even a documentation
file I can point them at.
I'd imagine that a large number of the current kernel development team only
vaguely know of ftrace's existence, let alone how to use it and what its
advantages are. So they just won't use it.
> It certainly helps that the author of the tracer plugin (Soeren
> Sandmann) is the author of the userspace app too - so there's a rather
> well-working feedback loop here ;-)
>
> With oprofile all these things are rather indirect, the API is more
> complex, it forces per-CPU buffers, etc. etc. I think for
> instrumentation the driving force must be usability, and sysprof/ftrace
> is hands down more usable - to me at least.
Well. You know how to use it.
John, Phillippe: have you had a chance to take a look at the latest ftrace
code?
Thanks.
next prev parent reply other threads:[~2008-04-17 19:58 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-16 20:23 Ingo Molnar
2008-04-16 20:37 ` Roland Dreier
2008-04-16 22:18 ` Suresh Siddha
2008-04-16 20:50 ` Andi Kleen
2008-04-17 10:06 ` Alexander van Heukelum
2008-04-17 10:51 ` Andi Kleen
2008-04-17 13:33 ` Alexander van Heukelum
2008-04-18 8:38 ` Ingo Molnar
2008-04-18 10:51 ` Andi Kleen
2008-04-17 7:25 ` Andrew Morton
2008-04-17 7:45 ` Pekka Enberg
2008-04-17 8:20 ` Andrew Morton
2008-04-17 8:32 ` Pekka J Enberg
2008-04-17 8:34 ` Pekka Enberg
2008-04-17 8:40 ` Ingo Molnar
2008-04-17 8:42 ` Andrew Morton
2008-04-17 11:49 ` Christoph Hellwig
2008-04-17 11:56 ` Ingo Molnar
2008-04-17 18:01 ` Andrew Morton
2008-04-17 18:51 ` Ingo Molnar
2008-04-17 19:57 ` Andrew Morton [this message]
2008-04-17 20:18 ` Ingo Molnar
2008-04-18 9:33 ` Tomasz Kłoczko
2008-04-18 9:42 ` Ingo Molnar
2008-04-17 8:14 ` Andrew Morton
2008-04-17 8:57 ` Avi Kivity
2008-04-17 10:32 ` Johannes Weiner
2008-04-17 10:50 ` Andrew Morton
2008-04-17 11:49 ` Christoph Hellwig
2008-04-17 17:36 ` Andrew Morton
2008-04-17 8:30 ` Ingo Molnar
2008-04-17 8:40 ` Andrew Morton
2008-04-17 8:45 ` David Miller
2008-04-17 8:54 ` Andrew Morton
2008-04-17 8:56 ` Andrew Morton
2008-04-17 9:19 ` David Miller
2008-04-17 9:33 ` Andrew Morton
2008-04-17 9:06 ` Ingo Molnar
2008-04-17 9:18 ` Andrew Morton
2008-04-17 9:30 ` Ingo Molnar
2008-04-17 9:36 ` Andrew Morton
2008-04-17 9:46 ` Ingo Molnar
2008-04-17 10:06 ` Andrew Morton
2008-04-17 10:11 ` Andi Kleen
2008-04-17 10:18 ` Andrew Morton
2008-04-17 10:29 ` Andi Kleen
2008-04-17 10:19 ` Pekka Enberg
2008-04-17 10:33 ` Andrew Morton
2008-04-17 10:38 ` Ingo Molnar
2008-04-17 10:42 ` Pekka Enberg
2008-04-18 11:12 ` Nick Piggin
2008-04-17 14:01 ` Arjan van de Ven
2008-04-17 15:26 ` Ingo Molnar
2008-04-18 12:41 ` Ingo Molnar
2008-04-17 10:41 ` Pekka Enberg
2008-04-17 18:47 ` Vegard Nossum
2008-04-17 19:27 ` Ingo Molnar
2008-04-17 19:35 ` Ingo Molnar
2008-04-17 19:39 ` Vegard Nossum
2008-04-17 19:43 ` Andrew Morton
2008-04-17 20:39 ` Vegard Nossum
2008-04-17 20:55 ` Andrew Morton
2008-04-17 9:53 ` Andrew Morton
2008-04-17 7:48 ` Andrew Morton
2008-04-18 6:27 ` Andrew Morton
2008-04-18 6:38 ` David Miller
2008-04-18 7:47 ` Ingo Molnar
2008-04-18 8:00 ` Andrew Morton
2008-04-18 8:11 ` Christoph Hellwig
2008-04-18 8:18 ` David Miller
2008-04-18 12:48 ` 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=20080417125701.83849f30.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=hch@infradead.org \
--cc=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
--cc=phil.el@wanadoo.fr \
--cc=torvalds@linux-foundation.org \
/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
Powered by JetHome