• Peter Zijlstra's avatar
    perf_counter: Fix COMM and MMAP events for cpu wide counters · efb3d172
    Peter Zijlstra authored
    Commit a63eaf34 ("perf_counter: Dynamically allocate tasks'
    perf_counter_context struct") broke COMM and MMAP notification for
    cpu wide counters by dropping out early if there was no task context,
    thereby also not iterating the cpu context.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    efb3d172
perf_counter.c 92.4 KB