aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHenrik Rydberg <[email protected]>2012-09-01 21:47:11 +0200
committerJiri Kosina <[email protected]>2012-09-02 09:26:46 +0200
commit9bfc8da00b1e74f55a52cc06a0d364f1f7f61ed8 (patch)
tree6643c6edd934129b20a58a2fe1361a461a02f237 /tools/perf/util/trace-event-scripting.c
parent67ddbb3e6568fb1820b2cc45b00c50702b114801 (diff)
HID: Only dump input if someone is listening
Going through the motions of printing the debug message information takes a long time; using the keyboard can lead to a 160 us irqsoff latency. This patch skips hid_dump_input() when there are no open handles, which brings latency down to 100 us. Signed-off-by: Henrik Rydberg <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions