diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-23 09:14:02 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-23 09:14:02 +0100 |
commit | 69ce6c79dbcb2cec2d1245935ef20bf832ffe70a (patch) | |
tree | 0b6aea71ef4f3ca5c797494d062819bfba63e7f7 /testsuite/buildok/scsi.stp | |
parent | 72195f6b17c0ed2e508c58bf3cadd5b9dc4e28ac (diff) | |
parent | 0ee3adb42f2f6d8bffe177e77a415b3a74f3a777 (diff) | |
download | systemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.tar.gz systemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.tar.xz systemtap-steved-69ce6c79dbcb2cec2d1245935ef20bf832ffe70a.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'testsuite/buildok/scsi.stp')
-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 |