Re: [PATCH 02/17] perf: Add ability to attach user level registersdump to sample

From: Arnaldo Carvalho de Melo
Date: Wed Jul 25 2012 - 13:08:09 EST


Em Wed, Jul 25, 2012 at 06:13:06PM +0200, Frederic Weisbecker escreveu:
> On Sun, Jul 22, 2012 at 02:14:25PM +0200, Jiri Olsa wrote:
> > Introducing PERF_SAMPLE_REGS_USER sample type bit to trigger
> > the dump of user level registers on sample. Registers we want
> > to dump are specified by sample_regs_user bitmask.
> >
> > Only user level registers are dumped at the moment. Meaning the
> > register values of the user space context as it was before the
> > user entered the kernel for whatever reason (syscall, irq,
> > exception, or a PMI happening in userspace).
> >
> > The layout of the sample_regs_user bitmap is described in
> > asm/perf_regs.h for archs that support register dump.
> >
> > This is going to be useful to bring Dwarf CFI based stack
> > unwinding on top of samples.
> >
> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> > Original-patch-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
>
> Acked-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

Cool, Stephane, Peter, are you ok with it? Can I get your Acked-by or
even Reviewed-by?

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