xref: /openbmc/qemu/hw/char/trace-events (revision 416296a9)
1# See docs/tracing.txt for syntax documentation.
2
3# hw/char/virtio-serial-bus.c
4virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
5virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, throttle %d"
6virtio_serial_handle_control_message(uint16_t event, uint16_t value) "event %u, value %u"
7virtio_serial_handle_control_message_port(unsigned int port) "port %u"
8
9# hw/char/virtio-console.c
10virtio_console_flush_buf(unsigned int port, size_t len, ssize_t ret) "port %u, in_len %zu, out_len %zd"
11virtio_console_chr_read(unsigned int port, int size) "port %u, size %d"
12virtio_console_chr_event(unsigned int port, int event) "port %u, event %d"
13
14# hw/char/grlib_apbuart.c
15grlib_apbuart_event(int event) "event:%d"
16grlib_apbuart_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
17grlib_apbuart_readl_unknown(uint64_t addr) "addr 0x%"PRIx64
18
19# hw/char/lm32_juart.c
20lm32_juart_get_jtx(uint32_t value) "jtx 0x%08x"
21lm32_juart_set_jtx(uint32_t value) "jtx 0x%08x"
22lm32_juart_get_jrx(uint32_t value) "jrx 0x%08x"
23lm32_juart_set_jrx(uint32_t value) "jrx 0x%08x"
24
25# hw/char/lm32_uart.c
26lm32_uart_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
27lm32_uart_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
28lm32_uart_irq_state(int level) "irq state %d"
29
30# hw/char/milkymist-uart.c
31milkymist_uart_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
32milkymist_uart_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
33milkymist_uart_raise_irq(void) "Raise IRQ"
34milkymist_uart_lower_irq(void) "Lower IRQ"
35
36# hw/char/escc.c
37escc_put_queue(char channel, int b) "channel %c put: 0x%02x"
38escc_get_queue(char channel, int val) "channel %c get 0x%02x"
39escc_update_irq(int irq) "IRQ = %d"
40escc_update_parameters(char channel, int speed, int parity, int data_bits, int stop_bits) "channel %c: speed=%d parity=%c data=%d stop=%d"
41escc_mem_writeb_ctrl(char channel, uint32_t reg, uint32_t val) "Write channel %c, reg[%d] = %2.2x"
42escc_mem_writeb_data(char channel, uint32_t val) "Write channel %c, ch %d"
43escc_mem_readb_ctrl(char channel, uint32_t reg, uint8_t val) "Read channel %c, reg[%d] = %2.2x"
44escc_mem_readb_data(char channel, uint32_t ret) "Read channel %c, ch %d"
45escc_serial_receive_byte(char channel, int ch) "channel %c put ch %d"
46escc_sunkbd_event_in(int ch, const char *name, int down) "QKeyCode 0x%2.2x [%s], down %d"
47escc_sunkbd_event_out(int ch) "Translated keycode 0x%2.2x"
48escc_kbd_command(int val) "Command %d"
49escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=%01x"
50