diff options
| author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-11-20 16:19:44 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-11-21 08:11:35 -0500 |
| commit | 0cff784ae41cc125368ae77f1c01328ae2fdc6b3 (patch) | |
| tree | 54e6f387d945d724c00bb33118ef138831a68d10 /kernel/rtmutex-debug.h | |
| parent | 453f19eea7dbad837425e9b07d84568d14898794 (diff) | |
perf: Optimize some swcounter attr.sample_period==1 paths
Avoid the rather expensive perf_swevent_set_period() if we know
we have to sample every single event anyway.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091120212508.299508332@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rtmutex-debug.h')
0 files changed, 0 insertions, 0 deletions
