diff options
| author | Peter Zijlstra <[email protected]> | 2009-05-20 12:21:22 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-20 12:43:34 +0200 |
| commit | afedadf23a2c90f3ba0d963282cbe6a6be129494 (patch) | |
| tree | 3fa284b19482158c0a8dab8fa79bf41180ebd256 /include/linux | |
| parent | b986d7ec0f8b7ea3cc7366d80a137fbe839df227 (diff) | |
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 <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions