mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
usb-storage: switch trace events
Replace most DPRINTF macros with trace events. Drop some DPRINTF macros. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20201105134112.25119-2-kraxel@redhat.com
This commit is contained in:
parent
b50ea0d54b
commit
d0ccb3922d
2 changed files with 29 additions and 25 deletions
|
@ -252,6 +252,18 @@ usb_hub_attach(int addr, int nr) "dev %d, port %d"
|
|||
usb_hub_detach(int addr, int nr) "dev %d, port %d"
|
||||
usb_hub_status_report(int addr, int status) "dev %d, status 0x%x"
|
||||
|
||||
# dev-storage.c
|
||||
usb_msd_reset(void) ""
|
||||
usb_msd_maxlun(unsigned maxlun) "%d"
|
||||
usb_msd_send_status(unsigned status, unsigned tag, size_t size) "status %d, tag 0x%x, len %zd"
|
||||
usb_msd_data_in(unsigned packet, unsigned remaining, unsigned total) "%d/%d (scsi %d)"
|
||||
usb_msd_data_out(unsigned packet, unsigned remaining) "%d/%d"
|
||||
usb_msd_packet_async(void) ""
|
||||
usb_msd_packet_complete(void) ""
|
||||
usb_msd_cmd_submit(unsigned lun, unsigned tag, unsigned flags, unsigned len, unsigned data_len) "lun %u, tag 0x%x, flags 0x%08x, len %d, data-len %d"
|
||||
usb_msd_cmd_complete(unsigned status, unsigned tag) "status %d, tag 0x%x"
|
||||
usb_msd_cmd_cancel(unsigned tag) "tag 0x%x"
|
||||
|
||||
# dev-uas.c
|
||||
usb_uas_reset(int addr) "dev %d"
|
||||
usb_uas_command(int addr, uint16_t tag, int lun, uint32_t lun64_1, uint32_t lun64_2) "dev %d, tag 0x%x, lun %d, lun64 0x%08x-0x%08x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue