]> git.baikalelectronics.ru Git - kernel.git/commit
perf events: Fix event inherit fallout of precalculated headers
authorThomas Gleixner <tglx@linutronix.de>
Fri, 3 Dec 2010 18:24:32 +0000 (16:24 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 5 Dec 2010 00:56:11 +0000 (22:56 -0200)
commitebd242119a82d0cfff2bf18c16c37e74630086fb
tree6c366435b7960dfa84f5592486a2fad8f4526205
parentb2f9fb656541546323c77527caea1e5c7c06ed04
perf events: Fix event inherit fallout of precalculated headers

The precalculated header size is not updated when an event is inherited. That
results in bogus sample entries for all child events. Bug introduced in 7343f7c.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ian Munsie <imunsie@au1.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <alpine.LFD.2.00.1012031245220.2653@localhost6.localdomain6>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
kernel/perf_event.c