diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-08-29 16:49:44 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-08-29 16:49:44 +0200 |
commit | 0226553baaf948fbffe403a2ca05bfb12960349c (patch) | |
tree | 0e369125011f515ec5ba6eb1d048384ceef856c1 | |
parent | 60c9dcc116ce1832ff9ff0c235233c5a2db3e3cd (diff) | |
download | systemtap-steved-0226553baaf948fbffe403a2ca05bfb12960349c.tar.gz systemtap-steved-0226553baaf948fbffe403a2ca05bfb12960349c.tar.xz systemtap-steved-0226553baaf948fbffe403a2ca05bfb12960349c.zip |
Fix overlapping statement probe error in warnings.stp.
Instead of generating a warning the current kernel.statement probe
produced a warning on some 386 kernels that had optimized that
particular line:
semantic error: multiple addresses for fs/bio.c:282
(try fs/bio.c:278 or fs/bio.c:284)
semantic error: no match while resolving probe point
kernel.statement("bio_init@fs/bio.c+3")
So do as told to just get the expected warnings for this probe.
* testsuite/systemtap.base/warnings.stp (probea): Probe bio_init@fs/bio.c+5.
-rw-r--r-- | testsuite/systemtap.base/warnings.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/warnings.stp b/testsuite/systemtap.base/warnings.stp index d71b3034..d3f1243f 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+3") +probe probea = kernel.statement("bio_init@fs/bio.c+5") { printf("%d", funca(2)); elide_me6="foo" } probe probea { printf("%d", funcb(2,3)); printf("%s",var) } |