From 2901e41a5b56517f7e3df2e5a1f60085206d17ea Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 2 Apr 2007 20:30:30 +0000 Subject: [PATCH] 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/ChangeLog | 6 ++++++ 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 +- testsuite/systemtap.stress/current.stp | 6 +++--- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 00c99ec5a..9d1c2cc31 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,9 @@ +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. + 2007-03-30 Frank Ch. Eigler PR 1570 diff --git a/testsuite/systemtap.samples/poll_map.stp b/testsuite/systemtap.samples/poll_map.stp index ba494ddb4..fb6b16e65 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 1a93153d2..d8d5b7c59 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 670b239df..68e0348aa 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 e6e6bb2a7..da31c858e 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 406735811..ddc298d42 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() -- 2.43.5