summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/fib.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.context/fib.stp')
-rw-r--r--testsuite/systemtap.context/fib.stp3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/fib.stp b/testsuite/systemtap.context/fib.stp
index 85c2fc1d..fe2415f5 100644
--- a/testsuite/systemtap.context/fib.stp
+++ b/testsuite/systemtap.context/fib.stp
@@ -5,13 +5,16 @@ probe process("fib").function("fib").call {
depth++
if (depth > max_depth) {
max_depth = depth
+ %( $# > 0 %? print_ubacktrace_brief(); printf("\n") %)
}
}
probe process("fib").function("fib").return {
+ %( $# == 0 %?
if (depth == max_depth) {
print_ubacktrace_brief()
printf("\n")
}
+ %)
depth--
}