summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2008-04-15 21:12:26 -0400
committerMartin Hunt <hunt@redhat.com>2008-04-15 21:12:26 -0400
commitd46ba57b8584a005b2b97d1e7a02004169670492 (patch)
treeb6e5630bd90414b5469bfb7ac0a014d52c8bb885 /tapset/context.stp
parentca1655b01e0f15289f5b8e7b760373c733cbdd83 (diff)
parent4f7a75f2cb3394290d1093a031546aa848ace929 (diff)
downloadsystemtap-steved-d46ba57b8584a005b2b97d1e7a02004169670492.tar.gz
systemtap-steved-d46ba57b8584a005b2b97d1e7a02004169670492.tar.xz
systemtap-steved-d46ba57b8584a005b2b97d1e7a02004169670492.zip
Merge branch 'master' of monkey:/home/hunt/systemtap
Diffstat (limited to 'tapset/context.stp')
-rw-r--r--tapset/context.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/context.stp b/tapset/context.stp
index 4aa75158..dc560316 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -15,7 +15,7 @@ function print_regs () %{
function print_backtrace () %{
if (CONTEXT->regs) {
- _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi);
+ _stp_stack_print(CONTEXT->regs, 1, CONTEXT->pi, MAXTRACE);
} else {
_stp_printf("Systemtap probe: %s\n", CONTEXT->probe_point);
}
@@ -23,7 +23,7 @@ function print_backtrace () %{
function backtrace:string () %{ /* pure */
if (CONTEXT->regs)
- _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, CONTEXT->regs, 0, CONTEXT->pi);
+ _stp_stack_snprint (THIS->__retvalue, MAXSTRINGLEN, CONTEXT->regs, 0, CONTEXT->pi, MAXTRACE);
else
strlcpy (THIS->__retvalue, "", MAXSTRINGLEN);
%}