]> git.baikalelectronics.ru Git - kernel.git/commit
perf_events, x86: Clean up hw_perf_*_all() implementation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 27 Jan 2010 22:07:47 +0000 (23:07 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:47 +0000 (09:01 +0100)
commit28c8b5f22cba60c79894b2faac8dc982ddc8de9f
tree2224e77f3b346e588e42b2e097abcc48ad6bf68c
parentcfdef9065687fb90650579b9834d06eebd777c46
perf_events, x86: Clean up hw_perf_*_all() implementation

Put the recursion avoidance code in the generic hook instead of
replicating it in each implementation.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <20100127221122.057507285@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c