summaryrefslogtreecommitdiffstats
path: root/tapset/context-unwind.stp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-12-10 20:39:45 +0100
committerMark Wielaard <mjw@redhat.com>2008-12-10 20:39:45 +0100
commitd2f4d7286629da6e9f1b844beefb141a4d3ef2c3 (patch)
treeffcff9ea678de1196ad1d95a3ee6880eaf39e3df /tapset/context-unwind.stp
parente8318a92c7b07579b89da5ff6fef782ce5d2b58c (diff)
downloadsystemtap-steved-d2f4d7286629da6e9f1b844beefb141a4d3ef2c3.tar.gz
systemtap-steved-d2f4d7286629da6e9f1b844beefb141a4d3ef2c3.tar.xz
systemtap-steved-d2f4d7286629da6e9f1b844beefb141a4d3ef2c3.zip
PR6866: First pass at translating addresses to symbol names through vma.
Diffstat (limited to 'tapset/context-unwind.stp')
-rw-r--r--tapset/context-unwind.stp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapset/context-unwind.stp b/tapset/context-unwind.stp
index 4c5ed34b..59d111ee 100644
--- a/tapset/context-unwind.stp
+++ b/tapset/context-unwind.stp
@@ -51,7 +51,8 @@ function backtrace:string () %{ /* pure */
function caller:string() %{ /* pure */
if (CONTEXT->pi)
_stp_symbol_snprint( THIS->__retvalue, MAXSTRINGLEN,
- (unsigned long)_stp_ret_addr_r(CONTEXT->pi));
+ (unsigned long)_stp_ret_addr_r(CONTEXT->pi),
+ current);
else
strlcpy(THIS->__retvalue,"unknown",MAXSTRINGLEN);
%}