• Peter Zijlstra's avatar
    perf, x86: Fix pebs drains · 8f4aebd2
    Peter Zijlstra authored
    I overlooked the perf_disable()/perf_enable() calls in
    intel_pmu_handle_irq(), (pointed out by Markus) so we should not
    explicitly disable_all/enable_all pebs counters in the drain functions,
    these are already disabled and enabling them early is confusing.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
    Cc: paulus@samba.org
    Cc: eranian@google.com
    Cc: robert.richter@amd.com
    Cc: fweisbec@gmail.com
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8f4aebd2
perf_event_intel_ds.c 14.4 KB