diff options
author | guanglei <guanglei> | 2006-05-18 02:24:06 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-05-18 02:24:06 +0000 |
commit | d4c790043910cb1d7062cf576eef2a27391de6cc (patch) | |
tree | 277a5702eac4064b85643b46dbdfa19a11afd317 /testsuite/buildok/scsi.stp | |
parent | 7018ffc32898930158a83d04248554581d3168f4 (diff) | |
download | systemtap-steved-d4c790043910cb1d7062cf576eef2a27391de6cc.tar.gz systemtap-steved-d4c790043910cb1d7062cf576eef2a27391de6cc.tar.xz systemtap-steved-d4c790043910cb1d7062cf576eef2a27391de6cc.zip |
testcases checking in for ioscheduler.stp, memory.stp, networking.stp,
scsi.stp, tskschedule.stp
Diffstat (limited to 'testsuite/buildok/scsi.stp')
-rwxr-xr-x | testsuite/buildok/scsi.stp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/buildok/scsi.stp b/testsuite/buildok/scsi.stp new file mode 100755 index 00000000..82eee0a5 --- /dev/null +++ b/testsuite/buildok/scsi.stp @@ -0,0 +1,28 @@ +#! stap -p4 +probe scsi.ioentry +{ + printf("ppname: %s, %d, %d, %d\n", probefunc(), + disk_major, disk_minor, device_state) +} + +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, req_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) +} + +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) +} |