diff options
author | Andre Detsch <adetsch@br.ibm.com> | 2009-12-22 14:03:31 +0530 |
---|---|---|
committer | K.Prasad <prasadkr@prasadkrTP.(none)> | 2009-12-22 14:03:31 +0530 |
commit | 82acd39eeb4e04fc2359cb4ce1a0834f0d7769cc (patch) | |
tree | 095e8db47081e1a8d7dfed974945f1d372c788de /testsuite | |
parent | 3bd556fd59f403d962ea9a203c46451332b0ee46 (diff) | |
download | systemtap-steved-82acd39eeb4e04fc2359cb4ce1a0834f0d7769cc.tar.gz systemtap-steved-82acd39eeb4e04fc2359cb4ce1a0834f0d7769cc.tar.xz systemtap-steved-82acd39eeb4e04fc2359cb4ce1a0834f0d7769cc.zip |
Updates to SCSI tapset scsi.stp and corresponding testcases
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/scsi.stp | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/testsuite/buildok/scsi.stp b/testsuite/buildok/scsi.stp index dfe855de..036d0a47 100755 --- a/testsuite/buildok/scsi.stp +++ b/testsuite/buildok/scsi.stp @@ -15,29 +15,41 @@ fi stap -p4 - << EOF probe scsi.ioentry { - printf("ppname: %s, %d, %d, %d\n", probefunc(), - disk_major, disk_minor, device_state) + printf("%20s, disk_major=%d, disk_minor=%d, device_state=%s\n", + probefunc(), disk_major, disk_minor, device_state_str) } probe scsi.iodispatching { - printf("ppname: %s, %d, %d, %d, %d, %d, %d, %p, %d\n", probefunc(), - host_no, channel, lun, dev_id, device_state, data_direction, - request_buffer, request_bufflen) + printf("%20s, host_no=%d, channel=%d, lun=%d, dev_id=%d, device_state=%s, data_direction=%s, request_buffer=%p, request_bufflen=%d\n", + probefunc(), host_no, channel, lun, dev_id, device_state_str, + data_direction_str, request_buffer, request_bufflen) } - probe scsi.iodone { - printf("ppname: %s, %d, %d, %d, %d, %d, %d, %d\n", probefunc(), - host_no, channel, lun, dev_id, device_state, data_direction, - scsi_timer_pending) + printf("%20s, host_no=%d, channel=%d, lun=%d, dev_id=%d, device_state=%s, data_direction=%s, scsi_timer_pending=%d\n", + probefunc(), host_no, channel, lun, dev_id, device_state_str, + data_direction_str, scsi_timer_pending) } probe scsi.iocompleted { - printf("ppname: %s, %d, %d, %d, %d, %d, %d, %d\n", probefunc(), - host_no, channel, lun, dev_id, device_state, data_direction, - goodbytes) + printf("%20s, host_no=%d, channel=%d, lun=%d, dev_id=%d, device_state=%s, data_direction=%s, goodbytes=%d\n\n", + probefunc(), host_no, channel, lun, dev_id, device_state_str, + data_direction_str, goodbytes) +} + +probe scsi.set_state +{ + printf("%20s, host_no=%d, channel=%d, lun=%d, dev_id=%d, old_state=%s, state=%s\n", + probefunc(), host_no, channel, lun, dev_id, old_state_str, state_str) +} + +probe scsi.ioexecute +{ + printf("%20s, host_no=%d, channel=%d, lun=%d, dev_id=%d, device_state=%s, data_direction=%s, request_buffer=%p, request_bufflen=%d retries=%d, timeout=%d\n", + probefunc(),host_no, channel, lun, dev_id, device_state_str, + data_direction_str, request_buffer, request_bufflen, retries, timeout) } EOF |