perf: Complete software pmu grouping
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 17 Sep 2010 09:28:48 +0000 (11:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 17 Sep 2010 10:48:48 +0000 (12:48 +0200)
commitb04243ef7006cda301819f54ee7ce0a3632489e3
treee8e83c53d40dce08ad5bfc37ec1e58b3a5aa7adc
parentd14b12d7adbf214f33eb59f800b5c3d5ed9268e8
perf: Complete software pmu grouping

Aside from allowing software events into a !software group,
allow adding !software events to pure software groups.

Once we've moved the software group and attached the first
!software event, the group will no longer be a pure software
group and hence no longer be eligible for movement, at which
point the straight ctx comparison is correct again.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20100917093009.410784731@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c