Re: [RFC PATCH 2/9] perf: Add ability to dump user regs

From: Frederic Weisbecker
Date: Wed Oct 13 2010 - 10:58:14 EST


On Wed, Oct 13, 2010 at 09:20:53AM +0200, Peter Zijlstra wrote:
> On Wed, 2010-10-13 at 07:06 +0200, Frederic Weisbecker wrote:
> > Add new PERF_SAMPLE_UREGS to perf sample type. This will dump the
> > user space context as it was before the user entered the kernel for
> > whatever reason.
> >
> > This is going to be useful to bring Dwarf CFI based stack unwinding
> > on top of samples.
>
> This doesn't address any of the issues that were raised previously.
>
> There's a reason we don't have PERF_SAMPLE_*REGS like things.
>
> See: http://lkml.org/lkml/2010/3/3/308


But the best would be to get it from sysfs I think.

--
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/