• Frederic Weisbecker's avatar
    perf_events: Fix bad software/trace event recursion counting · fe612672
    Frederic Weisbecker authored
    Commit 4ed7c92d
    (perf_events: Undo some recursion damage) has introduced a bad
    reference counting of the recursion context. putting the context
    behaves like getting it, dropping every software/trace events
    after the first one in a context.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <1259091502-5171-1-git-send-email-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    fe612672
perf_event.c 121 KB