perf_counter: allow for data addresses to be recorded
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 8 Apr 2009 13:01:33 +0000 (15:01 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Apr 2009 17:05:56 +0000 (19:05 +0200)
commit78f13e9525ba777da25c4ddab89f28e9366a8b7c
treed23d43df02330f39e9c31901df9956d2e58a3474
parent4d855457d84b819fefcd1cd1b0a2a0a0ec475c07
perf_counter: allow for data addresses to be recorded

Paul suggested we allow for data addresses to be recorded along with
the traditional IPs as power can provide these.

For now, only the software pagefault events provide data addresses,
but in the future power might as well for some events.

x86 doesn't seem capable of providing this atm.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090408130409.394816925@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/perf_counter.c
arch/powerpc/mm/fault.c
arch/x86/kernel/cpu/perf_counter.c
arch/x86/mm/fault.c
include/linux/perf_counter.h
kernel/perf_counter.c
This page took 0.029007 seconds and 5 git commands to generate.