Messages in this thread | | | Date | Wed, 25 Jul 2012 14:00:08 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 02/17] perf: Add ability to attach user level registers dump to sample |
| |
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@redhat.com> > > Original-patch-by: Frederic Weisbecker <fweisbec@gmail.com> > > Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cool, Stephane, Peter, are you ok with it? Can I get your Acked-by or even Reviewed-by?
- Arnaldo
| |