diff options
Diffstat (limited to 'testsuite/systemtap.examples/process/syscalls_by_pid.stp')
-rwxr-xr-x | testsuite/systemtap.examples/process/syscalls_by_pid.stp | 10 |
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) } |