diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-04-07 12:25:53 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-04-07 15:32:35 +0200 |
commit | fc204b30292a3a5f1aa602171dc44d937cb2c20f (patch) | |
tree | cae1b41502dbd5e9c659c5f88c6599e9d7acf978 /testsuite/buildok | |
parent | 782040b3f07a908790c074d94c6253c9966c18b2 (diff) | |
download | systemtap-steved-fc204b30292a3a5f1aa602171dc44d937cb2c20f.tar.gz systemtap-steved-fc204b30292a3a5f1aa602171dc44d937cb2c20f.tar.xz systemtap-steved-fc204b30292a3a5f1aa602171dc44d937cb2c20f.zip |
Create usymname and usymdata variant that trigger STP_NEED_VMA_TRACKER.
* tapset/context-symbols.stp (syname, symdata): Pass NULL for kernel address.
* tapset/ucontext-symbols.stp: New file defining usymname and usymdata.
* testsuite/systemtap.context/usymbols.exp: Use usymname, remove
STP_NEED_VMA_TRACKER hack.
* testsuite/buildok/usymdata.stp: New test.
* testsuite/buildok/usymname.stp: Likewise.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/usymdata.stp | 8 | ||||
-rwxr-xr-x | testsuite/buildok/usymname.stp | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/buildok/usymdata.stp b/testsuite/buildok/usymdata.stp new file mode 100755 index 00000000..48c1f36f --- /dev/null +++ b/testsuite/buildok/usymdata.stp @@ -0,0 +1,8 @@ +#! stap -p4 +# +# Test the translatability for usymdata() +# +probe begin +{ + log(usymdata(0)) +} diff --git a/testsuite/buildok/usymname.stp b/testsuite/buildok/usymname.stp new file mode 100755 index 00000000..57e3f9c2 --- /dev/null +++ b/testsuite/buildok/usymname.stp @@ -0,0 +1,8 @@ +#! stap -p4 +# +# Test the translatability for usymname() +# +probe begin +{ + log(usymname(0)) +} |