summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
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/semko
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/semko')
-rwxr-xr-xtestsuite/semko/forty.stp2
-rwxr-xr-xtestsuite/semko/fortyone.stp2
-rwxr-xr-xtestsuite/semko/fortytwo.stp2
-rwxr-xr-xtestsuite/semko/maxactive04.stp2
-rwxr-xr-xtestsuite/semko/maxactive05.stp2
-rwxr-xr-xtestsuite/semko/return02.stp2
-rwxr-xr-xtestsuite/semko/thirtyfour.stp4
-rwxr-xr-xtestsuite/semko/twentytwo.stp2
8 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/semko/forty.stp b/testsuite/semko/forty.stp
index f7721a47..b7d1d139 100755
--- a/testsuite/semko/forty.stp
+++ b/testsuite/semko/forty.stp
@@ -1,4 +1,4 @@
#! stap -p2
global x
-probe kernel.function("sys_open") if (x = 1) { } # bad side-effect
+probe kernel.function("do_sys_open") if (x = 1) { } # bad side-effect
diff --git a/testsuite/semko/fortyone.stp b/testsuite/semko/fortyone.stp
index e9b986df..d3ba6205 100755
--- a/testsuite/semko/fortyone.stp
+++ b/testsuite/semko/fortyone.stp
@@ -1,3 +1,3 @@
#! stap -p2
-probe kernel.function("sys_open") if (x > 1) { } # not a global
+probe kernel.function("vfs_read") if (x > 1) { } # not a global
diff --git a/testsuite/semko/fortytwo.stp b/testsuite/semko/fortytwo.stp
index 17dacb1c..09a04ea7 100755
--- a/testsuite/semko/fortytwo.stp
+++ b/testsuite/semko/fortytwo.stp
@@ -1,6 +1,6 @@
#! stap -p2
-probe kernel.function("sys_open") if (foo(2)) { } # must not call functions
+probe kernel.function("vfs_read") if (foo(2)) { } # must not call functions
function foo(x) { return x }
diff --git a/testsuite/semko/maxactive04.stp b/testsuite/semko/maxactive04.stp
index 9471fd21..25d63ef4 100755
--- a/testsuite/semko/maxactive04.stp
+++ b/testsuite/semko/maxactive04.stp
@@ -1,5 +1,5 @@
#! stap -p2
-probe kernel.function("sys_open").return.maxactive(-4)
+probe kernel.function("vfs_read").return.maxactive(-4)
{
}
diff --git a/testsuite/semko/maxactive05.stp b/testsuite/semko/maxactive05.stp
index bdc8a101..3833ab6c 100755
--- a/testsuite/semko/maxactive05.stp
+++ b/testsuite/semko/maxactive05.stp
@@ -1,5 +1,5 @@
#! stap -p2
-probe kernel.function("sys_open").return.maxactive(99999999)
+probe kernel.function("vfs_read").return.maxactive(99999999)
{
}
diff --git a/testsuite/semko/return02.stp b/testsuite/semko/return02.stp
index db4cd8c7..3d64f5dc 100755
--- a/testsuite/semko/return02.stp
+++ b/testsuite/semko/return02.stp
@@ -1,6 +1,6 @@
#! stap -p2
-probe kernel.function("sys_read")
+probe kernel.function("vfs_read")
{
# this should fail - using $return not in a '.return' probe
printf("in sys_read - return = %d\n", $return)
diff --git a/testsuite/semko/thirtyfour.stp b/testsuite/semko/thirtyfour.stp
index 515fcfbb..dca63722 100755
--- a/testsuite/semko/thirtyfour.stp
+++ b/testsuite/semko/thirtyfour.stp
@@ -2,9 +2,9 @@
# can't write to target variables in .return probes
-probe kernel.function("sys_read").return
+probe kernel.function("fget_light").return
{
$fd = 0
printf("fd is %d\n", $fd)
}
-probe kernel.function("sys_open").return { $filename }
+probe kernel.function("do_sys_open").return { $filename }
diff --git a/testsuite/semko/twentytwo.stp b/testsuite/semko/twentytwo.stp
index 9321d5f6..ef04cd30 100755
--- a/testsuite/semko/twentytwo.stp
+++ b/testsuite/semko/twentytwo.stp
@@ -3,6 +3,6 @@
# tests that a non-inline function is *not* matched using
# the inline() pattern
-probe kernel.function("sys_recv").inline {
+probe kernel.function("vfs_read").inline {
log ("found a non-inline via inline()")
}