• Peter Zijlstra's avatar
    perf: Complete software pmu grouping · b04243ef
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@elte.hu>
    b04243ef
perf_event.c 142 KB