diff options
author | fche <fche> | 2007-04-11 20:49:01 +0000 |
---|---|---|
committer | fche <fche> | 2007-04-11 20:49:01 +0000 |
commit | e4cc28c6c2da26e6150a28c1bf125e91c8a6691d (patch) | |
tree | 3226626e7254b0daf70352d030f6af99e86a1a37 | |
parent | 023431eb9904b26088a8de2c576fb98606c55fd3 (diff) | |
download | systemtap-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.
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/scsi.stp | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 9c74b6fd..9a6cb1f3 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,7 @@ +2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net> + + * scsi.stp: Fix for when the scsi driver is built into the kernel. + 2007-04-11 Martin Hunt <hunt@redhat.com> * aux_syscalls.stp: Add in6.h include. 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 |