Re: [PATCH] x86: add the debugfs interface for the sysprof tool
From: Pekka Enberg
Date: Tue Feb 26 2008 - 01:48:25 EST
Hi,
On Tue, Feb 26, 2008 at 8:27 AM, Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> > You could try passing the --callgraph option to opcontrol.
>
> Hmm, perhaps I am missing something but I don't think that does what
> sysprof does. At least I can't find where in the oprofile kernel code
> does it save the full stack trace for user-space. John?
Ok, so as pointed out by Nicholas/Andrew, oprofile does indeed do
exactly what sysprof does (see
arch/x86/oprofile/backtrace.c::backtrace_address, for example). So,
Soeren, any other reason we can't use the oprofile kernel module for
sysprof?
--
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/