• Peter Zijlstra's avatar
    perf, x86: Properly account n_added · 356e1f2e
    Peter Zijlstra authored
    Make sure n_added is properly accounted so that we can rely on the value
    to reflect the number of added counters. This is needed if its going to
    be used for more than a boolean check.
    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>
    356e1f2e
perf_event.c 36.8 KB