summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/syscalls.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.samples/syscalls.stp')
-rw-r--r--testsuite/systemtap.samples/syscalls.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.samples/syscalls.stp b/testsuite/systemtap.samples/syscalls.stp
index 68e0348a..3ccfb8e5 100644
--- a/testsuite/systemtap.samples/syscalls.stp
+++ b/testsuite/systemtap.samples/syscalls.stp
@@ -2,6 +2,6 @@
global count
probe kernel.function("sys_*").call {
- print (sprint(pid()) . " " . pp() . "\n")
- if (++count > 100) exit()
+ printf("%d %s\n", pid(), pp())
+ if (++count > 100) exit()
}