diff options
author | Mark Wielaard <mjw@redhat.com> | 2008-12-15 18:04:36 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2008-12-15 18:04:36 +0100 |
commit | 3a5153c5590a89d6c0b70fc2c13554190b8c3be8 (patch) | |
tree | 5aa0061f725aaa4b86757e5d508f2470065ee6dc /tapset | |
parent | 204038b16193de78eeb333fde0cce6081d9d1fcd (diff) | |
download | systemtap-steved-3a5153c5590a89d6c0b70fc2c13554190b8c3be8.tar.gz systemtap-steved-3a5153c5590a89d6c0b70fc2c13554190b8c3be8.tar.xz systemtap-steved-3a5153c5590a89d6c0b70fc2c13554190b8c3be8.zip |
context-symbols.stp (probefunc): Call _stp_symbol_snprint with current task.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 5 | ||||
-rw-r--r-- | tapset/context-symbols.stp | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 30634bcc..d1d2064c 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,8 @@ +2008-12-15 Mark Wielaard <mjw@redhat.com> + + * context-symbols.stp (probefunc): Call _stp_symbol_snprint with + current task. + 2008-12-10 Mark Wielaard <mjw@redhat.com> * context-symbols.stp: Define STP_NEED_TASK_FINDER_VMA. diff --git a/tapset/context-symbols.stp b/tapset/context-symbols.stp index fbb51767..bd9a93b9 100644 --- a/tapset/context-symbols.stp +++ b/tapset/context-symbols.stp @@ -11,9 +11,6 @@ #ifndef STP_NEED_SYMBOL_DATA #define STP_NEED_SYMBOL_DATA 1 #endif -#ifndef STP_NEED_TASK_FINDER_VMA -#define STP_NEED_TASK_FINDER_VMA 1 -#endif %} /** @@ -66,7 +63,7 @@ function probefunc:string () %{ /* pure */ #else ((unsigned long)REG_IP(CONTEXT->regs) >= (unsigned long)PAGE_OFFSET)) { #endif - _stp_symbol_snprint(THIS->__retvalue, MAXSTRINGLEN, REG_IP(CONTEXT->regs)); + _stp_symbol_snprint(THIS->__retvalue, MAXSTRINGLEN, REG_IP(CONTEXT->regs), current); if (THIS->__retvalue[0] == '.') /* powerpc symbol has a dot*/ strlcpy(THIS->__retvalue,THIS->__retvalue + 1,MAXSTRINGLEN); } else { |