diff options
author | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-16 03:12:33 -0400 |
---|---|---|
committer | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-16 03:12:33 -0400 |
commit | 10202d146ce3d8cbd427a3724b6adc04ef43616e (patch) | |
tree | a3678ec949fa39a9fccb07fdf6d6fa85d74820cf /tapset/scsi.stp | |
parent | 784676f65184261f4a2acc879223108426c65e7d (diff) | |
download | systemtap-steved-10202d146ce3d8cbd427a3724b6adc04ef43616e.tar.gz systemtap-steved-10202d146ce3d8cbd427a3724b6adc04ef43616e.tar.xz systemtap-steved-10202d146ce3d8cbd427a3724b6adc04ef43616e.zip |
update scsi
Diffstat (limited to 'tapset/scsi.stp')
-rw-r--r-- | tapset/scsi.stp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tapset/scsi.stp b/tapset/scsi.stp index c9103cd6..7787b6d6 100644 --- a/tapset/scsi.stp +++ b/tapset/scsi.stp @@ -43,8 +43,13 @@ probe scsi.iodispatching dev_id = $cmd->device->id device_state = $cmd->device->sdev_state data_direction = $cmd->sc_data_direction +%( kernel_v >= "2.6.25" %? + request_buffer = $cmd->sdb->table->sgl + request_bufflen = $cmd->sdb->length +%: request_buffer = $cmd->request_buffer request_bufflen = $cmd->request_bufflen +%) req_addr = $cmd->request } |