summaryrefslogtreecommitdiffstats
path: root/tapset/context-symbols.stp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-12-15 18:04:36 +0100
committerMark Wielaard <mjw@redhat.com>2008-12-15 18:04:36 +0100
commit3a5153c5590a89d6c0b70fc2c13554190b8c3be8 (patch)
tree5aa0061f725aaa4b86757e5d508f2470065ee6dc /tapset/context-symbols.stp
parent204038b16193de78eeb333fde0cce6081d9d1fcd (diff)
downloadsystemtap-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/context-symbols.stp')
-rw-r--r--tapset/context-symbols.stp5
1 files changed, 1 insertions, 4 deletions
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 {