From: Mark Wielaard Date: Wed, 3 Aug 2011 17:29:24 +0000 (+0200) Subject: testsuite warnings.stp: match all lines in bio_init@fs/bio.c:*. X-Git-Tag: release-1.7~155^2~31 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1a0d7e04fc1480917cad9502aa7da3a102e29016;p=systemtap.git testsuite warnings.stp: match all lines in bio_init@fs/bio.c:*. Since we aren't actually interested in the probe itself, and different kernels have different lines that can be probed, just match them all. --- diff --git a/testsuite/systemtap.base/warnings.stp b/testsuite/systemtap.base/warnings.stp index 095a0f158..fee283848 100644 --- a/testsuite/systemtap.base/warnings.stp +++ b/testsuite/systemtap.base/warnings.stp @@ -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) }