Re: [PATCH] x86: add the debugfs interface for the sysprof tool

From: Nicholas Miell
Date: Sat Feb 23 2008 - 22:12:45 EST



On Sun, 2008-02-24 at 04:49 +0200, Pekka Enberg wrote:
> Hi Andrew,
>
> Andrew Morton wrote:
> > I didn't need to write a new kernel module to enable that
> > thirteen-character shell script, and I don't believe one needs to write a
> > new kernel module to put a nice easy-to-use GUI around oprofile either.
> >
> > This is one of those i-cant-believe-im-having-this-discussion discussions.
>
> Sysprof tracks the full stack frame so it can provide meaningful call
> tree (who called what) which is invaluable for spotting hot _paths_. I
> don't see how oprofile can do that as it tracks instruction pointers only.
>
> Pekka

You could try passing the --callgraph option to opcontrol.

--
Nicholas Miell <nmiell@xxxxxxxxxxx>

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