aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2010-12-06 11:16:26 -0600
committerTejun Heo <[email protected]>2010-12-17 15:07:19 +0100
commit5309665dcc1143d659d82568da8d00f0e08a58f9 (patch)
tree8c1682a7dded806c4aa942d18c856bc30eaadad5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentb76834bc1b6db0a0923eed85c81b1113021b0612 (diff)
fakekey: Simplify speakup_fake_key_pressed through this_cpu_ops
The whole function can be expressed as a simple this_cpu_read() operation. The function overhead is now likely multiple times that of the single instruction that is executed in it. Sedat: fixed compile failure caused by an extra ')'. Cc: William Hubbs <[email protected]> Cc: Sedat Dilek <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions