diff options
author | William Cohen <wcohen@redhat.com> | 2008-11-25 17:53:16 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-11-25 17:53:16 -0500 |
commit | e0c4dae873d0c7365f928fa2e72450f33b69ca3d (patch) | |
tree | 2369821f0425a83ee59596f5924ef4b52314562c /tapset/ioscheduler.stp | |
parent | eca9d638143b8e7e3a7ab877ea2d9b47736e5879 (diff) | |
download | systemtap-steved-e0c4dae873d0c7365f928fa2e72450f33b69ca3d.tar.gz systemtap-steved-e0c4dae873d0c7365f928fa2e72450f33b69ca3d.tar.xz systemtap-steved-e0c4dae873d0c7365f928fa2e72450f33b69ca3d.zip |
Add ioscheduler, socket, tcp, and upd to tapset reference.
Diffstat (limited to 'tapset/ioscheduler.stp')
-rw-r--r-- | tapset/ioscheduler.stp | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/tapset/ioscheduler.stp b/tapset/ioscheduler.stp index 017bcc27..d7a71aca 100644 --- a/tapset/ioscheduler.stp +++ b/tapset/ioscheduler.stp @@ -11,7 +11,10 @@ #include <linux/elevator.h> %} -/* when a request is retrieved from request queue */ +/** + * probe ioscheduler.elv_next_request - Retrieve request from request queue + * @elevator_name: The elevator name + */ probe ioscheduler.elv_next_request = kernel.function("elv_next_request") { @@ -22,6 +25,13 @@ probe ioscheduler.elv_next_request %) } +/** + * probe ioscheduler.elv_next_request.return - Return from retrieving a request + * @req: Address of the request + * @req_flags: Request flags + * @disk_major: Disk major number of the request + * @disk_minor: Disk minor number of the request + */ probe ioscheduler.elv_next_request.return = kernel.function("elv_next_request").return { @@ -47,6 +57,14 @@ probe ioscheduler.elv_next_request.return } } +/** + * probe ioscheduler.elv_add_request - Add a request into request queue + * @elevator_name: The elevator name + * @req: Address of the request + * @req_flags: Request flags + * @disk_major: Disk major number of the request + * @disk_minor: Disk minor number of the request + */ /* when a request is added to the request queue */ probe ioscheduler.elv_add_request = kernel.function("__elv_add_request") @@ -77,7 +95,14 @@ probe ioscheduler.elv_add_request %) } -/* when a request is completed */ +/** + * probe ioscheduler.elv_completed_request - Request is completed + * @elevator_name: The elevator name + * @req: Address of the request + * @req_flags: Request flags + * @disk_major: Disk major number of the request + * @disk_minor: Disk minor number of the request + */ probe ioscheduler.elv_completed_request = kernel.function("elv_completed_request") { |