summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.samples')
-rwxr-xr-xtestsuite/systemtap.samples/poll_map.stp2
-rw-r--r--testsuite/systemtap.samples/profile.stp2
-rw-r--r--testsuite/systemtap.samples/syscalls.stp2
-rw-r--r--testsuite/systemtap.samples/topsys.stp2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/systemtap.samples/poll_map.stp b/testsuite/systemtap.samples/poll_map.stp
index ba494ddb..fb6b16e6 100755
--- a/testsuite/systemtap.samples/poll_map.stp
+++ b/testsuite/systemtap.samples/poll_map.stp
@@ -5,7 +5,7 @@
global called, num_polls
-probe kernel.function( "sys_*" ) {
+probe kernel.function( "sys_*" ).call {
called[execname(),name]++
}
diff --git a/testsuite/systemtap.samples/profile.stp b/testsuite/systemtap.samples/profile.stp
index 1a93153d..d8d5b7c5 100644
--- a/testsuite/systemtap.samples/profile.stp
+++ b/testsuite/systemtap.samples/profile.stp
@@ -19,7 +19,7 @@ function decumulate () {
this_syscall[pid] = ""
this_syscall_time[pid] = 0
}
-probe kernel.function("sys_*") {
+probe kernel.function("sys_*").call {
accumulate ()
}
probe kernel.function("sys_*").return {
diff --git a/testsuite/systemtap.samples/syscalls.stp b/testsuite/systemtap.samples/syscalls.stp
index 670b239d..68e0348a 100644
--- a/testsuite/systemtap.samples/syscalls.stp
+++ b/testsuite/systemtap.samples/syscalls.stp
@@ -1,7 +1,7 @@
#! stap
global count
-probe kernel.function("sys_*") {
+probe kernel.function("sys_*").call {
print (sprint(pid()) . " " . pp() . "\n")
if (++count > 100) exit()
}
diff --git a/testsuite/systemtap.samples/topsys.stp b/testsuite/systemtap.samples/topsys.stp
index e6e6bb2a..da31c858 100644
--- a/testsuite/systemtap.samples/topsys.stp
+++ b/testsuite/systemtap.samples/topsys.stp
@@ -58,7 +58,7 @@ function print_systop () {
reset_syscalls_count ()
}
-probe kernel.function("sys_*") {
+probe kernel.function("sys_*").call {
accumulate ()
}