trace-events (5c6b3c50cca2106e5fbcbc6efa94c2f8b9d29fd8) trace-events (d733f74c333184179770e4d5017366da4b449cce)
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event. Declare its arguments and format
8# string.

--- 283 unchanged lines hidden (view full) ---

292# hw/usb/bus.c
293usb_port_claim(int bus, const char *port) "bus %d, port %s"
294usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
295usb_port_detach(int bus, const char *port) "bus %d, port %s"
296usb_port_release(int bus, const char *port) "bus %d, port %s"
297
298# hw/usb/hcd-ehci.c
299usb_ehci_reset(void) "=== RESET ==="
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event. Declare its arguments and format
8# string.

--- 283 unchanged lines hidden (view full) ---

292# hw/usb/bus.c
293usb_port_claim(int bus, const char *port) "bus %d, port %s"
294usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
295usb_port_detach(int bus, const char *port) "bus %d, port %s"
296usb_port_release(int bus, const char *port) "bus %d, port %s"
297
298# hw/usb/hcd-ehci.c
299usb_ehci_reset(void) "=== RESET ==="
300usb_ehci_unrealize(void) "=== UNREALIZE ==="
300usb_ehci_opreg_read(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
301usb_ehci_opreg_write(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
302usb_ehci_opreg_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
303usb_ehci_portsc_read(uint32_t addr, uint32_t port, uint32_t val) "rd mmio %04x [port %d] = %x"
304usb_ehci_portsc_write(uint32_t addr, uint32_t port, uint32_t val) "wr mmio %04x [port %d] = %x"
305usb_ehci_portsc_change(uint32_t addr, uint32_t port, uint32_t new, uint32_t old) "ch mmio %04x [port %d] = %x (old: %x)"
306usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
307usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"

--- 16 unchanged lines hidden (view full) ---

324usb_ehci_irq(uint32_t level, uint32_t frindex, uint32_t sts, uint32_t mask) "level %d, frindex 0x%04x, sts 0x%x, mask 0x%x"
325usb_ehci_guest_bug(const char *reason) "%s"
326usb_ehci_doorbell_ring(void) ""
327usb_ehci_doorbell_ack(void) ""
328usb_ehci_dma_error(void) ""
329
330# hw/usb/hcd-uhci.c
331usb_uhci_reset(void) "=== RESET ==="
301usb_ehci_opreg_read(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
302usb_ehci_opreg_write(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
303usb_ehci_opreg_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
304usb_ehci_portsc_read(uint32_t addr, uint32_t port, uint32_t val) "rd mmio %04x [port %d] = %x"
305usb_ehci_portsc_write(uint32_t addr, uint32_t port, uint32_t val) "wr mmio %04x [port %d] = %x"
306usb_ehci_portsc_change(uint32_t addr, uint32_t port, uint32_t new, uint32_t old) "ch mmio %04x [port %d] = %x (old: %x)"
307usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
308usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"

--- 16 unchanged lines hidden (view full) ---

325usb_ehci_irq(uint32_t level, uint32_t frindex, uint32_t sts, uint32_t mask) "level %d, frindex 0x%04x, sts 0x%x, mask 0x%x"
326usb_ehci_guest_bug(const char *reason) "%s"
327usb_ehci_doorbell_ring(void) ""
328usb_ehci_doorbell_ack(void) ""
329usb_ehci_dma_error(void) ""
330
331# hw/usb/hcd-uhci.c
332usb_uhci_reset(void) "=== RESET ==="
333usb_uhci_exit(void) "=== EXIT ==="
332usb_uhci_schedule_start(void) ""
333usb_uhci_schedule_stop(void) ""
334usb_uhci_frame_start(uint32_t num) "nr %d"
335usb_uhci_frame_stop_bandwidth(void) ""
336usb_uhci_frame_loop_stop_idle(void) ""
337usb_uhci_frame_loop_continue(void) ""
338usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%04x"
339usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%04x"

--- 13 unchanged lines hidden (view full) ---

353usb_uhci_td_load(uint32_t qh, uint32_t td, uint32_t ctrl, uint32_t token) "qh 0x%x, td 0x%x, ctrl 0x%x, token 0x%x"
354usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
355usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
356usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
357usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
358
359# hw/usb/hcd-xhci.c
360usb_xhci_reset(void) "=== RESET ==="
334usb_uhci_schedule_start(void) ""
335usb_uhci_schedule_stop(void) ""
336usb_uhci_frame_start(uint32_t num) "nr %d"
337usb_uhci_frame_stop_bandwidth(void) ""
338usb_uhci_frame_loop_stop_idle(void) ""
339usb_uhci_frame_loop_continue(void) ""
340usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%04x"
341usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%04x"

--- 13 unchanged lines hidden (view full) ---

355usb_uhci_td_load(uint32_t qh, uint32_t td, uint32_t ctrl, uint32_t token) "qh 0x%x, td 0x%x, ctrl 0x%x, token 0x%x"
356usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
357usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
358usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
359usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
360
361# hw/usb/hcd-xhci.c
362usb_xhci_reset(void) "=== RESET ==="
363usb_xhci_exit(void) "=== EXIT ==="
361usb_xhci_run(void) ""
362usb_xhci_stop(void) ""
363usb_xhci_cap_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
364usb_xhci_oper_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
365usb_xhci_port_read(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, ret 0x%08x"
366usb_xhci_runtime_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
367usb_xhci_doorbell_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
368usb_xhci_oper_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"

--- 949 unchanged lines hidden ---
364usb_xhci_run(void) ""
365usb_xhci_stop(void) ""
366usb_xhci_cap_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
367usb_xhci_oper_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
368usb_xhci_port_read(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, ret 0x%08x"
369usb_xhci_runtime_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
370usb_xhci_doorbell_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
371usb_xhci_oper_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"

--- 949 unchanged lines hidden ---