diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-05-20 12:21:22 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-20 12:43:34 +0200 |
commit | afedadf23a2c90f3ba0d963282cbe6a6be129494 (patch) | |
tree | 3fa284b19482158c0a8dab8fa79bf41180ebd256 /arch/x86 | |
parent | perf_counter: Optimize disable of time based sw counters (diff) | |
download | linux-afedadf23a2c90f3ba0d963282cbe6a6be129494.tar.xz linux-afedadf23a2c90f3ba0d963282cbe6a6be129494.zip |
perf_counter: Optimize sched in/out of counters
Avoid a function call for !group counters by directly calling the counter
function.
[ Impact: micro-optimize the code ]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <20090520102553.511933670@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions