]> git.ipfire.org Git - people/arne_f/kernel.git/commit - kernel/events/core.c
perf_counter: avoid recursion
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 23 Mar 2009 17:22:07 +0000 (18:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:25 +0000 (09:30 +0200)
commit96f6d4444302bb2ea2cf409529eef816462f6ce0
tree34ae6944b4a8e6db89c50dba5a3a8b9da3315122
parentf4a2deb4860497f4332cf6a1acddab3dd628ddf0
perf_counter: avoid recursion

Tracepoint events like lock_acquire and software counters like
pagefaults can recurse into the perf counter code again, avoid that.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Orig-LKML-Reference: <20090323172417.152096433@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c