Re: [PATCH 3/3 v3] perf_counter: powerpc: Add callchain support

2009-08-17 Thread Benjamin Herrenschmidt
On Tue, 2009-08-18 at 09:01 +1000, Paul Mackerras wrote: > This adds support for tracing callchains for powerpc, both 32-bit > and 64-bit, and both in the kernel and userspace, from PMU interrupt > context. > Signed-off-by: Paul Mackerras Acked-by: Benjamin Herrenschmidt

[PATCH 3/3 v3] perf_counter: powerpc: Add callchain support

2009-08-17 Thread Paul Mackerras
This adds support for tracing callchains for powerpc, both 32-bit and 64-bit, and both in the kernel and userspace, from PMU interrupt context. The first three entries stored for each callchain are the NIP (next instruction pointer), LR (link register), and the contents of the LR save area in the