xref: /openbmc/qemu/hw/input/trace-events (revision 8d3031fa)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# adb-kbd.c
4adb_device_kbd_no_key(void) "Ignoring NO_KEY"
5adb_device_kbd_writereg(int reg, uint8_t val) "reg %d val 0x%2.2x"
6adb_device_kbd_readreg(int reg, uint8_t val0, uint8_t val1) "reg %d obuf[0] 0x%2.2x obuf[1] 0x%2.2x"
7adb_device_kbd_request_change_addr(int devaddr) "change addr to 0x%x"
8adb_device_kbd_request_change_addr_and_handler(int devaddr, int handler) "change addr and handler to 0x%x, 0x%x"
9
10# adb-mouse.c
11adb_device_mouse_flush(void) "flush"
12adb_device_mouse_writereg(int reg, uint8_t val) "reg %d val 0x%2.2x"
13adb_device_mouse_readreg(int reg, uint8_t val0, uint8_t val1) "reg %d obuf[0] 0x%2.2x obuf[1] 0x%2.2x"
14adb_device_mouse_request_change_addr(int devaddr) "change addr to 0x%x"
15adb_device_mouse_request_change_addr_and_handler(int devaddr, int handler) "change addr and handler to 0x%x, 0x%x"
16
17# adb.c
18adb_bus_request(uint8_t addr, const char *cmd, int size) "device 0x%x %s cmdsize=%d"
19adb_bus_request_done(uint8_t addr, const char *cmd, int size) "device 0x%x %s replysize=%d"
20adb_bus_autopoll_block(bool blocked) "blocked: %d"
21adb_bus_autopoll_cb(uint16_t mask) "executing autopoll_cb with autopoll mask 0x%x"
22adb_bus_autopoll_cb_done(uint16_t mask) "done executing autopoll_cb with autopoll mask 0x%x"
23
24# pckbd.c
25pckbd_kbd_read_data(uint32_t val) "0x%02x"
26pckbd_kbd_read_status(int status) "0x%02x"
27pckbd_outport_write(uint32_t val) "0x%02x"
28pckbd_kbd_write_command(uint64_t val) "0x%02"PRIx64
29pckbd_kbd_write_data(uint64_t val) "0x%02"PRIx64
30
31# ps2.c
32ps2_put_keycode(void *opaque, int keycode) "%p keycode 0x%02x"
33ps2_keyboard_event(void *opaque, int qcode, int down, unsigned int modifier, unsigned int modifiers, int set, int xlate) "%p qcode %d down %d modifier 0x%x modifiers 0x%x set %d xlate %d"
34ps2_read_data(void *opaque) "%p"
35ps2_set_ledstate(void *s, int ledstate) "%p ledstate %d"
36ps2_reset_keyboard(void *s) "%p"
37ps2_write_keyboard(void *opaque, int val) "%p val %d"
38ps2_keyboard_set_translation(void *opaque, int mode) "%p mode %d"
39ps2_mouse_send_packet(void *s, int dx1, int dy1, int dz1, int b) "%p x %d y %d z %d bs 0x%x"
40ps2_mouse_fake_event(void *opaque) "%p"
41ps2_write_mouse(void *opaque, int val) "%p val %d"
42ps2_kbd_reset(void *opaque) "%p"
43ps2_mouse_reset(void *opaque) "%p"
44
45# hid.c
46hid_kbd_queue_full(void) "queue full"
47hid_kbd_queue_empty(void) "queue empty"
48
49# virtio-input.c
50virtio_input_queue_full(void) "queue full"
51
52# lasips2.c
53lasips2_reg_read(unsigned int size, int id, uint64_t addr, const char *name, uint64_t val) "%u %d addr 0x%"PRIx64 "%s -> 0x%"PRIx64
54lasips2_reg_write(unsigned int size, int id, uint64_t addr, const char *name, uint64_t val) "%u %d addr 0x%"PRIx64 "%s <- 0x%"PRIx64
55lasips2_intr(unsigned int val) "%d"
56