diff options
author | Liang Yan <lyan@suse.com> | 2017-08-23 11:27:36 -0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-09-26 09:06:02 +0300 |
commit | 6ec83befe18c1418c86782cbf2dd43ce59ea7c99 (patch) | |
tree | 3d038fe2953f8e349e759ae5a4c5b52c56421942 /hw/display/xenfb.c | |
parent | b9710bc911d8f3dbdb339296283b27951a8566f3 (diff) |
hw/display/xenfb.c: Add trace_xenfb_key_event
It may be better to add a trace event to monitor the last moment of
a key event from QEMU to guest VM
Signed-off-by: Liang Yan <lyan@suse.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/display/xenfb.c')
-rw-r--r-- | hw/display/xenfb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/xenfb.c b/hw/display/xenfb.c index df8b78f6f4..8e2547ac05 100644 --- a/hw/display/xenfb.c +++ b/hw/display/xenfb.c @@ -290,6 +290,7 @@ static void xenfb_key_event(void *opaque, int scancode) scancode |= 0x80; xenfb->extended = 0; } + trace_xenfb_key_event(opaque, scancode2linux[scancode], down); xenfb_send_key(xenfb, down, scancode2linux[scancode]); } |