]> git.karo-electronics.de Git - mv-sheeva.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)
commit1a6e21f791fe85b40a9ddbafe999ab8ccffc3f78
tree2224e77f3b346e588e42b2e097abcc48ad6bf68c
parented8777fc132e589d48a0ba854fdbb5d8203b58e5
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