diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:04:39 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:04:39 -0400 |
commit | 3aecf6c2ad1e192bc93e629c7eef1db0ae488070 (patch) | |
tree | 3d03046acbbcebc142fbe3cc741f204d71b0f29c /drivers/input | |
parent | a8674d69f58114d5fbcdb3f01dea9dfecdf43168 (diff) |
lttng-instrumentation/add-input-subsystem-instrumentation
Allows tracing of all input events that pass through the input subsystem.
Signed-off-by: Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 11905b6a302..9f283a479bb 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -218,6 +218,8 @@ static void input_handle_event(struct input_dev *dev, { int disposition = INPUT_IGNORE_EVENT; + trace_mark(input_event, "type %u code %u value %d", type, code, value); + switch (type) { case EV_SYN: |