summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/maxactive.exp
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2009-04-30 17:00:38 +0530
committerAnanth N Mavinakayanahalli <ananth@in.ibm.com>2009-04-30 17:00:38 +0530
commitea7d087ab3866eb99c19444b237c9586e8dc9b17 (patch)
tree9a3831d5a2ac2d5da1e69b86fff043fabc4e3a01 /testsuite/systemtap.base/maxactive.exp
parent06cc786840951d8467553a60c0e603a5086fc488 (diff)
downloadsystemtap-steved-ea7d087ab3866eb99c19444b237c9586e8dc9b17.tar.gz
systemtap-steved-ea7d087ab3866eb99c19444b237c9586e8dc9b17.tar.xz
systemtap-steved-ea7d087ab3866eb99c19444b237c9586e8dc9b17.zip
PR10007: Avoid probing syscall entry points in the testsuite.
While there, fix minor issues with the s390x syscall tapset.
Diffstat (limited to 'testsuite/systemtap.base/maxactive.exp')
-rw-r--r--testsuite/systemtap.base/maxactive.exp16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/systemtap.base/maxactive.exp b/testsuite/systemtap.base/maxactive.exp
index 7c03a1bf..79ede897 100644
--- a/testsuite/systemtap.base/maxactive.exp
+++ b/testsuite/systemtap.base/maxactive.exp
@@ -10,12 +10,12 @@ proc sleep_five_sec {} {
return 0;
}
-# Script1. For 5 seconds, probe the return of "sys_select" and
-# "sys_read". See if we skip any probes.
+# Script1. For 5 seconds, probe the return of "vfs_read" and
+# "do_select". See if we skip any probes.
set script1 {
global foo
- probe kernel.function("sys_select").return,
- kernel.function("sys_read").return { foo++ }
+ probe kernel.function("vfs_read").return,
+ kernel.function("do_select").return { foo++ }
probe timer.ms(5000) { exit(); }
probe begin { log("systemtap starting probe"); log("systemtap ending probe");}
@@ -26,13 +26,13 @@ set script1 {
stap_run "MAXACTIVE01" sleep_five_sec "" -e $script1
set skipped1 $skipped_probes
-# Script2. For 5 seconds, probe the return of "sys_select" and
-# "sys_read", with a limit of 1 probe active at a time. See if we
+# Script2. For 5 seconds, probe the return of "vfs_read" and
+# "do_select", with a limit of 1 probe active at a time. See if we
# skip any probes.
set script2 {
global foo
- probe kernel.function("sys_select").return.maxactive(1),
- kernel.function("sys_read").return.maxactive(1) { foo++ }
+ probe kernel.function("vfs_read").return.maxactive(1),
+ kernel.function("do_select").return.maxactive(1) { foo++ }
probe timer.ms(5000) { exit(); }
probe begin { log("systemtap starting probe"); log("systemtap ending probe");}