Skip to content

Commit

Permalink
input: use hex in ps2 keycode trace events
Browse files Browse the repository at this point in the history
Hardware scancodes are all documented in hex, so use that in trace
events to make it easier to understand.

Signed-off-by: Daniel P. Berrange <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: [email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
berrange authored and kraxel committed Oct 23, 2017
1 parent e822e81 commit 700c85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/input/trace-events
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See docs/devel/tracing.txt for syntax documentation.

# hw/input/ps2.c
ps2_put_keycode(void *opaque, int keycode) "%p keycode %d"
ps2_put_keycode(void *opaque, int keycode) "%p keycode 0x%02x"
ps2_read_data(void *opaque) "%p"
ps2_set_ledstate(void *s, int ledstate) "%p ledstate %d"
ps2_reset_keyboard(void *s) "%p"
Expand Down

0 comments on commit 700c85c

Please sign in to comment.