summaryrefslogtreecommitdiffstats
path: root/man/stapprobes.iosched.5.in
diff options
context:
space:
mode:
authorguanglei <guanglei>2006-10-18 07:08:01 +0000
committerguanglei <guanglei>2006-10-18 07:08:01 +0000
commita5ae3f3dbfd50c9be63a883ecb800c2cf9b19500 (patch)
tree197e47ef59decb446e682ee5610c021b48b22a96 /man/stapprobes.iosched.5.in
parent99ac04e8f8e9205922cedd8529a707eb61c279b0 (diff)
downloadsystemtap-steved-a5ae3f3dbfd50c9be63a883ecb800c2cf9b19500.tar.gz
systemtap-steved-a5ae3f3dbfd50c9be63a883ecb800c2cf9b19500.tar.xz
systemtap-steved-a5ae3f3dbfd50c9be63a883ecb800c2cf9b19500.zip
update man pages
Diffstat (limited to 'man/stapprobes.iosched.5.in')
-rw-r--r--man/stapprobes.iosched.5.in135
1 files changed, 42 insertions, 93 deletions
diff --git a/man/stapprobes.iosched.5.in b/man/stapprobes.iosched.5.in
index b88b8c4c..46b801a7 100644
--- a/man/stapprobes.iosched.5.in
+++ b/man/stapprobes.iosched.5.in
@@ -1,7 +1,7 @@
.\" -*- nroff -*-
-.TH STAPPROBES.SCSI 5 @DATE@ "IBM"
+.TH STAPPROBES.IOSCHED 5 @DATE@ "IBM"
.SH NAME
-stapprobes.scsi \- systemtap scsi probe points
+stapprobes.iosched \- systemtap IO scheduler probe points
.\" macros
.de SAMPLE
@@ -18,132 +18,81 @@ stapprobes.scsi \- systemtap scsi probe points
.SH DESCRIPTION
-This family of probe points is used to probe the SCSI activities.
-It contains the following probe points:
+This family of probe points is used to probe the IO scheduler
+activities. It contains the following probe points:
.P
.TP
-.B scsi.ioentry
-Fires when SCSI mid layer prepares a SCSI request
+.B ioscheduler.elv_next_request
+Fires when retrieves a request from request queue
.B Arguments:
-.I disk_major
- The major number of the disk
-
-.I disk_minor
- The minor number of the disk
-
-.I device_state
- The current state of the device. The possible values could be:
-
- SDEV_CREATED = 1, /* device created but not added to sysfs
- * Only internal commands allowed (for inq) */
- SDEV_RUNNING = 2, /* device properly configured
- * All commands allowed */
- SDEV_CANCEL = 3, /* beginning to delete device
- * Only error handler commands allowed */
- SDEV_DEL = 4, /* device deleted
- * no commands allowed */
- SDEV_QUIESCE = 5, /* Device quiescent. No block commands
- * will be accepted, only specials (which
- * originate in the mid-layer) */
- SDEV_OFFLINE = 6, /* Device offlined (by error handling or
- * user request */
- SDEV_BLOCK = 7, /* Device blocked by scsi lld. No scsi
- * commands from user or midlayer should be issued
- * to the scsi lld. */
+.I elevator_name
+ The elevator name
.P
.TP
-.B scsi.iodispatching
-Fires when the SCSI mid layer dispatches a SCSI command to the low level driver
+.B ioscheduler.elv_next_request.return
+Fires when return from retrieving a request
.B Arguments:
-.I host_no
- The host number
-
-.I channel
- The channel number
-
-.I lun
- The lun number
+.I req
+ Address of the request
-.I dev_id
- The scsi device id
+.I req_flags
+ request flags
-.I device_state
- The current state of the device.
-
-.I data_direction
- The data_direction specifies whether this command is from/to the device.
- The possible values could be:
-
- DMA_BIDIRECTIONAL = 0,
- DMA_TO_DEVICE = 1,
- DMA_FROM_DEVICE = 2,
- DMA_NONE = 3,
-
-.I request_buffer
- The request buffer address
+.I disk_major
+ disk major number of the request
-.I req_bufflen
- The request buffer length
+.I disk_minor
+ disk minor number of the request
.P
.TP
-.B scsi.iodone
-Fires when a SCSI command is done by low level driver and enqueued into the done queue.
+.B ioscheduler.elv_add_request
+Fires when add a request into request queue
.B Arguments:
-.I host_no
- The host number
-
-.I channel
- The channel number
+.I elevator_name
+ The elevator name
-.I lun
- The lun number
+.I req
+ Address of the request
-.I dev_id
- The scsi device id
+.I req_flags
+ request flags
-.I device_state
- The current state of the device
+.I disk_major
+ disk major number of the request
-.I data_direction
- The data_direction specifies whether this command is from/to the device.
+.I disk_minor
+ disk minor number of the request
.P
.TP
-.B scsi.iocompleted
-Fires when SCSI mid layer runs the completion processing for
-block device I/O requests
+.B ioscheduler.elv_completed_request
+Fires when a request is completed
.B Arguments:
-.I host_no
- The host number
+.I elevator_name
+ The elevator name
-.I channel
- The channel number
+.I req
+ Address of the request
-.I lun
- The lun number
+.I req_flags
+ request flags
-.I dev_id
- The scsi device id
-
-.I device_state
- The current state of the device
-
-.I data_direction
- The data_direction specifies whether this command is from/to the device.
+.I disk_major
+ disk major number of the request
-.I goodbytes
- The bytes completed.
+.I disk_minor
+ disk minor number of the request
.SH SEE ALSO
.IR stap (1),