summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/process/syscalls_by_pid.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/process/syscalls_by_pid.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/process/syscalls_by_pid.stp')
-rwxr-xr-xtestsuite/systemtap.examples/process/syscalls_by_pid.stp10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/systemtap.examples/process/syscalls_by_pid.stp b/testsuite/systemtap.examples/process/syscalls_by_pid.stp
index 47aa4955..8f00e40d 100755
--- a/testsuite/systemtap.examples/process/syscalls_by_pid.stp
+++ b/testsuite/systemtap.examples/process/syscalls_by_pid.stp
@@ -14,15 +14,15 @@
global syscalls
probe begin {
- print ("Collecting data... Type Ctrl-C to exit and display results\n")
+ print ("Collecting data... Type Ctrl-C to exit and display results\n")
}
probe syscall.* {
- syscalls[pid()]++
+ syscalls[pid()]++
}
probe end {
- printf ("%-10s %-s\n", "#SysCalls", "PID")
- foreach (pid in syscalls-)
- printf("%-10d %-d\n", syscalls[pid], pid)
+ printf ("%-10s %-s\n", "#SysCalls", "PID")
+ foreach (pid in syscalls-)
+ printf("%-10d %-d\n", syscalls[pid], pid)
}