summaryrefslogtreecommitdiffstats
path: root/tapset/scsi.stp
diff options
context:
space:
mode:
authorfche <fche>2007-04-11 20:49:01 +0000
committerfche <fche>2007-04-11 20:49:01 +0000
commite4cc28c6c2da26e6150a28c1bf125e91c8a6691d (patch)
tree3226626e7254b0daf70352d030f6af99e86a1a37 /tapset/scsi.stp
parent023431eb9904b26088a8de2c576fb98606c55fd3 (diff)
downloadsystemtap-steved-e4cc28c6c2da26e6150a28c1bf125e91c8a6691d.tar.gz
systemtap-steved-e4cc28c6c2da26e6150a28c1bf125e91c8a6691d.tar.xz
systemtap-steved-e4cc28c6c2da26e6150a28c1bf125e91c8a6691d.zip
2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
* scsi.stp: Fix for when the scsi driver is built into the kernel.
Diffstat (limited to 'tapset/scsi.stp')
-rw-r--r--tapset/scsi.stp13
1 files changed, 9 insertions, 4 deletions
diff --git a/tapset/scsi.stp b/tapset/scsi.stp
index 5e467686..10993ee7 100644
--- a/tapset/scsi.stp
+++ b/tapset/scsi.stp
@@ -17,7 +17,8 @@
/* mid-layer prepare a IO request */
probe scsi.ioentry
- = module("*").function("scsi_prep_fn@drivers/scsi/scsi_lib.c")
+ = module("scsi_mod").function("scsi_prep_fn@drivers/scsi/scsi_lib.c")?,
+ kernel.function("scsi_prep_fn@drivers/scsi/scsi_lib.c")?
{
if($req->rq_disk == 0) {
disk_major = -1
@@ -32,7 +33,8 @@ probe scsi.ioentry
/* Dispatch a command to the low-level driver. */
probe scsi.iodispatching
- = module("*").function("scsi_dispatch_cmd@drivers/scsi/scsi.c")
+ = module("scsi_mod").function("scsi_dispatch_cmd@drivers/scsi/scsi.c")?,
+ kernel.function("scsi_dispatch_cmd@drivers/scsi/scsi.c")?
{
host_no = $cmd->device->host->host_no
@@ -48,7 +50,9 @@ probe scsi.iodispatching
/* I/O is done by low-level driver*/
probe scsi.iodone
- = module("*").function("scsi_done@drivers/scsi/scsi.c")
+ = module("scsi_mod").function("scsi_done@drivers/scsi/scsi.c")?,
+ kernel.function("scsi_done@drivers/scsi/scsi.c")?
+
{
host_no = $cmd->device->host->host_no
channel = $cmd->device->channel
@@ -62,7 +66,8 @@ probe scsi.iodone
/* mid-layer processes the completed IO */
probe scsi.iocompleted
- = module("*").function("scsi_io_completion@drivers/scsi/scsi_lib.c")
+ = module("scsi_mod").function("scsi_io_completion@drivers/scsi/scsi_lib.c")?,
+ kernel.function("scsi_io_completion@drivers/scsi/scsi_lib.c")?
{
host_no = $cmd->device->host->host_no
channel = $cmd->device->channel