aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2009-11-20 22:19:44 +0100
committerIngo Molnar <[email protected]>2009-11-21 14:11:35 +0100
commit0cff784ae41cc125368ae77f1c01328ae2fdc6b3 (patch)
tree54e6f387d945d724c00bb33118ef138831a68d10 /scripts
parent453f19eea7dbad837425e9b07d84568d14898794 (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 <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions