diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-01-11 10:09:43 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 10:04:46 +0100 |
commit | 6da127ad0918f93ea93678dad62ce15ffed18797 (patch) | |
tree | b2bf9ad228f18c643342ad376136d2f6b4be4137 /sound | |
parent | 91525300baf162e83e923b09ca286f9205e21522 (diff) | |
download | op-kernel-dev-6da127ad0918f93ea93678dad62ce15ffed18797.zip op-kernel-dev-6da127ad0918f93ea93678dad62ce15ffed18797.tar.gz |
blktrace: Add blktrace ioctls to SCSI generic devices
Since the SCSI layer uses the request queues from the block layer, blktrace can
also be used to trace the requests to all SCSI devices (like SCSI tape drives),
not only disks. The only missing part is the ioctl interface to start and stop
tracing.
This patch adds the SETUP, START, STOP and TEARDOWN ioctls from blktrace to the
sg device files. With this change, blktrace can be used for SCSI devices like
for disks, e.g.: blktrace -d /dev/sg1 -o - | blkparse -i -
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions