diff options
author | Martin Hunt <hunt@monkey.(none)> | 2008-04-15 21:10:34 -0400 |
---|---|---|
committer | Martin Hunt <hunt@monkey.(none)> | 2008-04-15 21:10:34 -0400 |
commit | 4f7a75f2cb3394290d1093a031546aa848ace929 (patch) | |
tree | 081546c0cd685ed58bc90c4903a7d954415300bf /tapset/context.stp | |
parent | 8558d3925ee2931b654a19f243bfa8b3be0bfc12 (diff) | |
download | systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.tar.gz systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.tar.xz systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.zip |
2.6.25 fixes and stack level limits.
Diffstat (limited to 'tapset/context.stp')
-rw-r--r-- | tapset/context.stp | 4 |
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); %} |