path: root/trace-events
diff options
authorPaolo Bonzini <pbonzini@redhat.com>2011-08-03 10:49:07 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-12 08:27:30 -0500
commitb45ef674f4c403398e75c6be02e27a0bfa813a11 (patch)
tree5cf3db12f4e69af96866f4b31ea4ff1bb09239b3 /trace-events
parent682a9b213ca3c47c4de5b0518c59c2e550299106 (diff)
scsi: move sense handling to generic code
With this patch, sense data is stored in the generic data structures for SCSI devices and requests. The SCSI layer takes care of storing sense data in the SCSIDevice for the subsequent REQUEST SENSE command. At the same time, get_sense is removed and scsi_req_get_sense can use an entirely generic implementation. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'trace-events')
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 19d31e354..0daf2cc4c 100644
--- a/trace-events
+++ b/trace-events
@@ -251,6 +251,7 @@ disable scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d
disable scsi_req_parsed(int target, int lun, int tag, int cmd, int mode, int xfer) "target %d lun %d tag %d command %d dir %d length %d"
disable scsi_req_parsed_lba(int target, int lun, int tag, int cmd, uint64_t lba) "target %d lun %d tag %d command %d lba %"PRIu64""
disable scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
+disable scsi_req_build_sense(int target, int lun, int tag, int key, int asc, int ascq) "target %d lun %d tag %d key %#02x asc %#02x ascq %#02x"
# vl.c
disable vm_state_notify(int running, int reason) "running %d reason %d"