summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-11-20 22:19:44 +0100
committerIngo Molnar <mingo@elte.hu>2009-11-21 14:11:35 +0100
commit0cff784ae41cc125368ae77f1c01328ae2fdc6b3 (patch)
tree54e6f387d945d724c00bb33118ef138831a68d10 /net
parent453f19eea7dbad837425e9b07d84568d14898794 (diff)
downloadop-kernel-dev-0cff784ae41cc125368ae77f1c01328ae2fdc6b3.zip
op-kernel-dev-0cff784ae41cc125368ae77f1c01328ae2fdc6b3.tar.gz
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 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud