aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/trace-events
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2018-12-11 17:31:05 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:21 +0100
commit568534986486e619258c6ff36b4029372624238a (patch)
treea40ea884eaaabffef3897b5b35029f5d8aa28f6a /hw/scsi/trace-events
parent59ee9500022cfdc79c2bcf51a82d02f5e4ec21d1 (diff)
downloadqemu-568534986486e619258c6ff36b4029372624238a.zip
qemu-568534986486e619258c6ff36b4029372624238a.tar.gz
qemu-568534986486e619258c6ff36b4029372624238a.tar.bz2
scsi-generic: Convert from DPRINTF() macro to trace events
Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20181211163105.31834-3-lvivier@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/trace-events')
-rw-r--r--hw/scsi/trace-events11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/scsi/trace-events b/hw/scsi/trace-events
index dbd529e..29aaa75 100644
--- a/hw/scsi/trace-events
+++ b/hw/scsi/trace-events
@@ -321,3 +321,14 @@ scsi_disk_emulate_command_UNKNOWN(int cmd, const char *name) "Unknown SCSI comma
scsi_disk_dma_command_READ(uint64_t lba, uint32_t len) "Read (sector %" PRId64 ", count %u)"
scsi_disk_dma_command_WRITE(const char *cmd, uint64_t lba, int len) "Write %s(sector %" PRId64 ", count %u)"
scsi_disk_new_request(uint32_t lun, uint32_t tag, const char *line) "Command: lun=%d tag=0x%x data=%s"
+
+# hw/scsi/scsi-generic.c
+scsi_generic_command_complete_noio(void *req, uint32_t tag, int statuc) "Command complete %p tag=0x%x status=%d"
+scsi_generic_read_complete(uint32_t tag, int len) "Data ready tag=0x%x len=%d"
+scsi_generic_read_data(uint32_t tag) "scsi_read_data tag=0x%x"
+scsi_generic_write_complete(int ret) "scsi_write_complete() ret = %d"
+scsi_generic_write_complete_blocksize(int blocksize) "block size %d"
+scsi_generic_write_data(uint32_t tag) "scsi_write_data tag=0x%x"
+scsi_generic_send_command(const char *line) "Command: data=%s"
+scsi_generic_realize_type(int type) "device type %d"
+scsi_generic_realize_blocksize(int blocksize) "block size %d"