]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Fix event scaling for inherited counters
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 20 Nov 2009 21:19:55 +0000 (22:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Nov 2009 13:11:40 +0000 (14:11 +0100)
commit8f07fc89e053fad86d31ef59aa320e53e1481fcb
tree707c009e252b082ffac5c5209f4bdc013b1b5c62
parent6dc3c102d57e4697147b8c36f2247a404e9e3aef
perf: Fix event scaling for inherited counters

Properly account the full hierarchy of counters for both the
count (we already did so) and the scale times (new).

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091120212509.153379276@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c