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 /tapset/context-symbols.stp | |
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 'tapset/context-symbols.stp')
-rw-r--r-- | tapset/context-symbols.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/context-symbols.stp b/tapset/context-symbols.stp index 66d9fea2..783f1b7b 100644 --- a/tapset/context-symbols.stp +++ b/tapset/context-symbols.stp @@ -128,7 +128,7 @@ function modname:string (addr: long) %{ /* pure */ */ function symname:string (addr: long) %{ /* pure */ _stp_symbol_snprint(THIS->__retvalue, MAXSTRINGLEN, THIS->addr, - current, 0); + NULL, 0); %} /** @@ -143,5 +143,5 @@ function symname:string (addr: long) %{ /* pure */ */ function symdata:string (addr: long) %{ /* pure */ _stp_symbol_snprint(THIS->__retvalue, MAXSTRINGLEN, THIS->addr, - current, 1); + NULL, 1); %} |