aboutsummaryrefslogtreecommitdiff
path: root/hw/input/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-10-19 15:28:40 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-10-23 10:50:02 +0200
commit700c85c00c7f60d87a77fa267b01ec7c92ae4d5d (patch)
tree3e9afd68dd67ad33b608823ab6545e571aba6055 /hw/input/trace-events
parente822e81e350825dd94f41ee2538ff1432b812eb9 (diff)
input: use hex in ps2 keycode trace events
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 <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20171019142848.572-2-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/input/trace-events')
-rw-r--r--hw/input/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/trace-events b/hw/input/trace-events
index 6fcb3c063f..d04132d342 100644
--- a/hw/input/trace-events
+++ b/hw/input/trace-events
@@ -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"