summaryrefslogtreecommitdiffstats
path: root/runtime/stack-ppc64.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-02-07 15:54:10 +0000
committerhunt <hunt>2007-02-07 15:54:10 +0000
commit7d678473f851dadc2f5a4f6fe1a0bc7635750585 (patch)
treeff471b39034100b18948c7dcd43eb0a3646bc320 /runtime/stack-ppc64.c
parentb8772cce090adb3d27cdd8b49d236662b526424e (diff)
downloadsystemtap-steved-7d678473f851dadc2f5a4f6fe1a0bc7635750585.tar.gz
systemtap-steved-7d678473f851dadc2f5a4f6fe1a0bc7635750585.tar.xz
systemtap-steved-7d678473f851dadc2f5a4f6fe1a0bc7635750585.zip
2007-02-07 Martin Hunt <hunt@redhat.com>
* stack-ppc64.c (__stp_stack_print): Remove an old reference to the string length and instead limit backtraces to MAXBACKTRACE. * stack.c: Define MAXBACKTRACE
Diffstat (limited to 'runtime/stack-ppc64.c')
-rw-r--r--runtime/stack-ppc64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack-ppc64.c b/runtime/stack-ppc64.c
index 87c528fd..4d4e49bb 100644
--- a/runtime/stack-ppc64.c
+++ b/runtime/stack-ppc64.c
@@ -57,5 +57,5 @@ static void __stp_stack_print (struct pt_regs *regs, int verbose, int levels)
}
sp = newsp;
- } while (str->len < STP_STRING_SIZE);
+ } while (count++ < MAXBACKTRACE);
}