trace-events (74abb45dac6979e7ff76172b7f0a24e869405184) trace-events (ce3d01da898ad73509c0d5a851d775670fb7ba1e)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# core.c
4usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
5usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s, expected %s"
6
7# bus.c
8usb_port_claim(int bus, const char *port) "bus %d, port %s"
9usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
10usb_port_detach(int bus, const char *port) "bus %d, port %s"
11usb_port_release(int bus, const char *port) "bus %d, port %s"
12
13# hcd-ohci-pci.c
14usb_ohci_exit(const char *s) "%s"
15
16# hcd-ohci.c
17usb_ohci_iso_td_read_failed(uint32_t addr) "ISO_TD read error at 0x%x"
1# See docs/devel/tracing.rst for syntax documentation.
2
3# core.c
4usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
5usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s, expected %s"
6
7# bus.c
8usb_port_claim(int bus, const char *port) "bus %d, port %s"
9usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
10usb_port_detach(int bus, const char *port) "bus %d, port %s"
11usb_port_release(int bus, const char *port) "bus %d, port %s"
12
13# hcd-ohci-pci.c
14usb_ohci_exit(const char *s) "%s"
15
16# hcd-ohci.c
17usb_ohci_iso_td_read_failed(uint32_t addr) "ISO_TD read error at 0x%x"
18usb_ohci_iso_td_head(uint32_t head, uint32_t tail, uint32_t flags, uint32_t bp, uint32_t next, uint32_t be, uint32_t framenum, uint32_t startframe, uint32_t framecount, int rel_frame_num) "ISO_TD ED head 0x%.8x tailp 0x%.8x\n0x%.8x 0x%.8x 0x%.8x 0x%.8x\nframe_number 0x%.8x starting_frame 0x%.8x\nframe_count 0x%.8x relative %d"
18usb_ohci_iso_td_head(uint32_t head, uint32_t tail, uint32_t flags, uint32_t bp, uint32_t next, uint32_t be, uint32_t framenum, uint32_t startframe, uint32_t framecount, int rel_frame_num) "ISO_TD ED head 0x%.8x tailp 0x%.8x, flags 0x%.8x bp 0x%.8x next 0x%.8x be 0x%.8x, frame_number 0x%.8x starting_frame 0x%.8x, frame_count 0x%.8x relative %d"
19usb_ohci_iso_td_head_offset(uint32_t o0, uint32_t o1, uint32_t o2, uint32_t o3, uint32_t o4, uint32_t o5, uint32_t o6, uint32_t o7) "0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x"
20usb_ohci_iso_td_relative_frame_number_neg(int rel) "ISO_TD R=%d < 0"
21usb_ohci_iso_td_relative_frame_number_big(int rel, int count) "ISO_TD R=%d > FC=%d"
22usb_ohci_iso_td_bad_direction(int dir) "Bad direction %d"
23usb_ohci_iso_td_bad_bp_be(uint32_t bp, uint32_t be) "ISO_TD bp 0x%.8x be 0x%.8x"
24usb_ohci_iso_td_bad_cc_not_accessed(uint32_t start, uint32_t next) "ISO_TD cc != not accessed 0x%.8x 0x%.8x"
25usb_ohci_iso_td_bad_cc_overrun(uint32_t start, uint32_t next) "ISO_TD start_offset=0x%.8x > next_offset=0x%.8x"
19usb_ohci_iso_td_head_offset(uint32_t o0, uint32_t o1, uint32_t o2, uint32_t o3, uint32_t o4, uint32_t o5, uint32_t o6, uint32_t o7) "0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x"
20usb_ohci_iso_td_relative_frame_number_neg(int rel) "ISO_TD R=%d < 0"
21usb_ohci_iso_td_relative_frame_number_big(int rel, int count) "ISO_TD R=%d > FC=%d"
22usb_ohci_iso_td_bad_direction(int dir) "Bad direction %d"
23usb_ohci_iso_td_bad_bp_be(uint32_t bp, uint32_t be) "ISO_TD bp 0x%.8x be 0x%.8x"
24usb_ohci_iso_td_bad_cc_not_accessed(uint32_t start, uint32_t next) "ISO_TD cc != not accessed 0x%.8x 0x%.8x"
25usb_ohci_iso_td_bad_cc_overrun(uint32_t start, uint32_t next) "ISO_TD start_offset=0x%.8x > next_offset=0x%.8x"
26usb_ohci_iso_td_so(uint32_t so, uint32_t eo, uint32_t s, uint32_t e, const char *str, ssize_t len, int ret) "0x%.8x eo 0x%.8x\nsa 0x%.8x ea 0x%.8x\ndir %s len %zu ret %d"
26usb_ohci_iso_td_so(uint32_t so, uint32_t eo, uint32_t s, uint32_t e, const char *str, ssize_t len, int ret) "0x%.8x eo 0x%.8x sa 0x%.8x ea 0x%.8x dir %s len %zu ret %d"
27usb_ohci_iso_td_data_overrun(int ret, ssize_t len) "DataOverrun %d > %zu"
28usb_ohci_iso_td_data_underrun(int ret) "DataUnderrun %d"
29usb_ohci_iso_td_nak(int ret) "got NAK/STALL %d"
30usb_ohci_iso_td_bad_response(int ret) "Bad device response %d"
31usb_ohci_td_bad_pid(const char *s, uint32_t edf, uint32_t tdf) "Bad pid %s: ed.flags 0x%x td.flags 0x%x"
32usb_ohci_port_attach(int index) "port #%d"
33usb_ohci_port_detach(int index) "port #%d"
34usb_ohci_port_wakeup(int index) "port #%d"

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

50usb_ohci_td_bad_direction(int dir) "Bad direction %d"
51usb_ohci_td_skip_async(void) ""
52usb_ohci_td_pkt_hdr(uint32_t addr, int64_t pktlen, int64_t len, const char *s, int flag_r, uint32_t cbp, uint32_t be) " TD @ 0x%.8x %" PRId64 " of %" PRId64 " bytes %s r=%d cbp=0x%.8x be=0x%.8x"
53usb_ohci_td_pkt_short(const char *dir, const char *buf) "%s data: %s"
54usb_ohci_td_pkt_full(const char *dir, const char *buf) "%s data: %s"
55usb_ohci_td_too_many_pending(int ep) "ep=%d"
56usb_ohci_td_packet_status(int status) "status=%d"
57usb_ohci_ed_read_error(uint32_t addr) "ED read error at 0x%x"
27usb_ohci_iso_td_data_overrun(int ret, ssize_t len) "DataOverrun %d > %zu"
28usb_ohci_iso_td_data_underrun(int ret) "DataUnderrun %d"
29usb_ohci_iso_td_nak(int ret) "got NAK/STALL %d"
30usb_ohci_iso_td_bad_response(int ret) "Bad device response %d"
31usb_ohci_td_bad_pid(const char *s, uint32_t edf, uint32_t tdf) "Bad pid %s: ed.flags 0x%x td.flags 0x%x"
32usb_ohci_port_attach(int index) "port #%d"
33usb_ohci_port_detach(int index) "port #%d"
34usb_ohci_port_wakeup(int index) "port #%d"

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

50usb_ohci_td_bad_direction(int dir) "Bad direction %d"
51usb_ohci_td_skip_async(void) ""
52usb_ohci_td_pkt_hdr(uint32_t addr, int64_t pktlen, int64_t len, const char *s, int flag_r, uint32_t cbp, uint32_t be) " TD @ 0x%.8x %" PRId64 " of %" PRId64 " bytes %s r=%d cbp=0x%.8x be=0x%.8x"
53usb_ohci_td_pkt_short(const char *dir, const char *buf) "%s data: %s"
54usb_ohci_td_pkt_full(const char *dir, const char *buf) "%s data: %s"
55usb_ohci_td_too_many_pending(int ep) "ep=%d"
56usb_ohci_td_packet_status(int status) "status=%d"
57usb_ohci_ed_read_error(uint32_t addr) "ED read error at 0x%x"
58usb_ohci_ed_pkt(uint32_t cur, int h, int c, uint32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.8x h=%u c=%u\n head=0x%.8x tailp=0x%.8x next=0x%.8x"
58usb_ohci_ed_pkt(uint32_t cur, int h, int c, uint32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.8x h=%u c=%u head=0x%.8x tailp=0x%.8x next=0x%.8x"
59usb_ohci_ed_pkt_flags(uint32_t fa, uint32_t en, uint32_t d, int s, int k, int f, uint32_t mps) "fa=%u en=%u d=%u s=%u k=%u f=%u mps=%u"
60usb_ohci_hcca_read_error(uint32_t addr) "HCCA read error at 0x%x"
61usb_ohci_mem_read(uint32_t size, const char *name, uint32_t addr, uint32_t offs, uint32_t val) "%d %s 0x%x %d -> 0x%x"
62usb_ohci_mem_port_read(uint32_t size, const char *name, uint32_t port, uint32_t addr, uint32_t offs, uint32_t val) "%d %s[%d] 0x%x %d -> 0x%x"
63usb_ohci_mem_read_unaligned(uint32_t addr) "at 0x%x"
64usb_ohci_mem_read_bad_offset(uint32_t addr) "0x%x"
65usb_ohci_mem_write(uint32_t size, const char *name, uint32_t addr, uint32_t offs, uint32_t val) "%d %s 0x%x %d <- 0x%x"
66usb_ohci_mem_port_write(uint32_t size, const char *name, uint32_t port, uint32_t addr, uint32_t offs, uint32_t val) "%d %s[%d] 0x%x %d <- 0x%x"

--- 303 unchanged lines hidden ---
59usb_ohci_ed_pkt_flags(uint32_t fa, uint32_t en, uint32_t d, int s, int k, int f, uint32_t mps) "fa=%u en=%u d=%u s=%u k=%u f=%u mps=%u"
60usb_ohci_hcca_read_error(uint32_t addr) "HCCA read error at 0x%x"
61usb_ohci_mem_read(uint32_t size, const char *name, uint32_t addr, uint32_t offs, uint32_t val) "%d %s 0x%x %d -> 0x%x"
62usb_ohci_mem_port_read(uint32_t size, const char *name, uint32_t port, uint32_t addr, uint32_t offs, uint32_t val) "%d %s[%d] 0x%x %d -> 0x%x"
63usb_ohci_mem_read_unaligned(uint32_t addr) "at 0x%x"
64usb_ohci_mem_read_bad_offset(uint32_t addr) "0x%x"
65usb_ohci_mem_write(uint32_t size, const char *name, uint32_t addr, uint32_t offs, uint32_t val) "%d %s 0x%x %d <- 0x%x"
66usb_ohci_mem_port_write(uint32_t size, const char *name, uint32_t port, uint32_t addr, uint32_t offs, uint32_t val) "%d %s[%d] 0x%x %d <- 0x%x"

--- 303 unchanged lines hidden ---