]> sourceware.org Git - systemtap.git/commitdiff
testsuite warnings.stp: match all lines in bio_init@fs/bio.c:*.
authorMark Wielaard <mjw@redhat.com>
Wed, 3 Aug 2011 17:29:24 +0000 (19:29 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 3 Aug 2011 17:33:05 +0000 (19:33 +0200)
Since we aren't actually interested in the probe itself, and
different kernels have different lines that can be probed, just
match them all.

testsuite/systemtap.base/warnings.stp

index 095a0f158033cd0fbd9228dfe14035680521b85a..fee283848519a9e1547b64d311b7595540297f11 100644 (file)
@@ -9,7 +9,7 @@ probe never { print(elide+me1) bar () }
 
 # PR 6611
 
-probe probea = kernel.statement("bio_init@fs/bio.c+1")
+probe probea = kernel.statement("bio_init@fs/bio.c:*")
                { printf("%d", funca(2)); elide_me6="foo" }
 probe probea { printf("%d", funcb(2,3)); printf("%s",var) }
 
This page took 0.031006 seconds and 5 git commands to generate.