summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/general/para-callgraph.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
commit4ffc629674ac7d1d84b93cb7fdca71953983f762 (patch)
treedca338602903ba87b69592b40faa35ca74b7966e /testsuite/systemtap.examples/general/para-callgraph.stp
parent73dc0c77745ee09db15542c14f7e048f91e121e6 (diff)
downloadsystemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.gz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.xz
systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.zip
Tweak formatting, indent two space.
Diffstat (limited to 'testsuite/systemtap.examples/general/para-callgraph.stp')
-rwxr-xr-xtestsuite/systemtap.examples/general/para-callgraph.stp16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/systemtap.examples/general/para-callgraph.stp b/testsuite/systemtap.examples/general/para-callgraph.stp
index 9abb00c2..a78e26e9 100755
--- a/testsuite/systemtap.examples/general/para-callgraph.stp
+++ b/testsuite/systemtap.examples/general/para-callgraph.stp
@@ -1,22 +1,22 @@
#! /usr/bin/env stap
function trace(entry_p, extra) {
- %( $# > 1 %? if (tid() in trace) %)
- printf("%s%s%s %s\n",
- thread_indent (entry_p),
- (entry_p>0?"->":"<-"),
- probefunc (),
- extra)
+ %( $# > 1 %? if (tid() in trace) %)
+ printf("%s%s%s %s\n",
+ thread_indent (entry_p),
+ (entry_p>0?"->":"<-"),
+ probefunc (),
+ extra)
}
%( $# > 1 %?
global trace
probe $2.call {
- trace[tid()] = 1
+ trace[tid()] = 1
}
probe $2.return {
- delete trace[tid()]
+ delete trace[tid()]
}
%)