diff options
author | fche <fche> | 2007-04-02 20:30:30 +0000 |
---|---|---|
committer | fche <fche> | 2007-04-02 20:30:30 +0000 |
commit | 2901e41a5b56517f7e3df2e5a1f60085206d17ea (patch) | |
tree | 3ca46a52ad7447372d83b73221409636e6df56dc /testsuite/systemtap.samples | |
parent | da5bc00621edbd01f290b8f779b075d3048c99a0 (diff) | |
download | systemtap-steved-2901e41a5b56517f7e3df2e5a1f60085206d17ea.tar.gz systemtap-steved-2901e41a5b56517f7e3df2e5a1f60085206d17ea.tar.xz systemtap-steved-2901e41a5b56517f7e3df2e5a1f60085206d17ea.zip |
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.
Diffstat (limited to 'testsuite/systemtap.samples')
-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 |
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 () } |