When driving QEMU from the outside, we have basically no chance to determine how quickly the guest OS picks up key events, so we usually have to limit ourselves to very slow keyboard presses to make sure the guest always has enough chance to pick them up. This patch adds a trace events when the keyboarde queue is drained. An external driver can use that as hint that new keys can be pressed. Signed-off-by: Alexander Graf <agraf@suse.de> Message-id: 1490883775-94658-1-git-send-email-agraf@suse.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# See docs/tracing.txt for syntax documentation.
|
|
|
|
# hw/input/ps2.c
|
|
ps2_put_keycode(void *opaque, int keycode) "%p keycode %d"
|
|
ps2_read_data(void *opaque) "%p"
|
|
ps2_set_ledstate(void *s, int ledstate) "%p ledstate %d"
|
|
ps2_reset_keyboard(void *s) "%p"
|
|
ps2_write_keyboard(void *opaque, int val) "%p val %d"
|
|
ps2_keyboard_set_translation(void *opaque, int mode) "%p mode %d"
|
|
ps2_mouse_send_packet(void *s, int dx1, int dy1, int dz1, int b) "%p x %d y %d z %d bs %#x"
|
|
ps2_mouse_fake_event(void *opaque) "%p"
|
|
ps2_write_mouse(void *opaque, int val) "%p val %d"
|
|
ps2_kbd_reset(void *opaque) "%p"
|
|
ps2_mouse_reset(void *opaque) "%p"
|
|
ps2_kbd_init(void *s) "%p"
|
|
ps2_mouse_init(void *s) "%p"
|
|
|
|
# hw/input/milkymist-softusb.c
|
|
milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
|
|
milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
|
|
milkymist_softusb_mevt(uint8_t m) "m %d"
|
|
milkymist_softusb_kevt(uint8_t m) "m %d"
|
|
milkymist_softusb_pulse_irq(void) "Pulse IRQ"
|
|
|
|
# hw/input/hid.c
|
|
hid_kbd_queue_full(void) "queue full"
|
|
hid_kbd_queue_empty(void) "queue empty"
|
|
|
|
# hw/input/virtio
|
|
virtio_input_queue_full(void) "queue full"
|