diff options
-rw-r--r-- | testsuite/ChangeLog | 6 | ||||
-rwxr-xr-x | testsuite/systemtap.samples/poll_map.stp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.samples/profile.stp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.samples/syscalls.stp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.samples/topsys.stp | 2 | ||||
-rw-r--r-- | testsuite/systemtap.stress/current.stp | 6 |
6 files changed, 13 insertions, 7 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 00c99ec5..9d1c2cc3 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-04-02 Frank Ch. Eigler <fche@elastic.org> + + * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp: + Continue adopting to .inline -> .function change. + * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto. + 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 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 () } diff --git a/testsuite/systemtap.stress/current.stp b/testsuite/systemtap.stress/current.stp index 40673581..ddc298d4 100644 --- a/testsuite/systemtap.stress/current.stp +++ b/testsuite/systemtap.stress/current.stp @@ -23,7 +23,7 @@ probe %( arch != "ia64" %? # __switch_to is macro definition in ia64, # and ia64_switch_to is defined in assemble language - kernel.function("__switch_to"), + kernel.function("__switch_to").call, kernel.function("__switch_to").return, %) %) @@ -50,9 +50,9 @@ probe %) %) - kernel.function("*@kernel/sched.c"), + kernel.function("*@kernel/sched.c").call, kernel.function("*@kernel/sched.c").return, - module("*").function("*interrupt*"), + module("*").function("*interrupt*").call, module("*").function("*interrupt*").return { length <<< commlen() |