From 2901e41a5b56517f7e3df2e5a1f60085206d17ea Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 2 Apr 2007 20:30:30 +0000 Subject: 2007-04-02 Frank Ch. Eigler * systemtap.samples/poll_map.stp, profile.stp, syscalls.stp: Continue adopting to .inline -> .function change. * systemtap.samples/topsys.stp, systemtap.stress/current.stp: Ditto. --- testsuite/systemtap.samples/poll_map.stp | 2 +- testsuite/systemtap.samples/profile.stp | 2 +- testsuite/systemtap.samples/syscalls.stp | 2 +- testsuite/systemtap.samples/topsys.stp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.samples') 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 () } -- cgit