]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Ensure consistent inherit state in groups
authorPeter Zijlstra <peterz@infradead.org>
Tue, 6 May 2014 07:59:34 +0000 (09:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 7 May 2014 11:44:17 +0000 (13:44 +0200)
commitb03a3581835fd9f6aaac2e24d936306974370640
treebaeeb3164bca54b629b1b41a6ee93234749c9ea5
parent3ca2dd674373b1e28c3a8a7aade3fa62ddd3d70a
perf: Ensure consistent inherit state in groups

Make sure all events in a group have the same inherit state. It was
possible for group leaders to have inherit set while sibling events
would not have inherit set.

In this case we'd still inherit the siblings, leading to some
non-fatal weirdness.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-r32tt8yldvic3jlcghd3g35u@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c