summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/onoffprobe.stp
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/onoffprobe.stp
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/onoffprobe.stp')
-rw-r--r--testsuite/systemtap.base/onoffprobe.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/onoffprobe.stp b/testsuite/systemtap.base/onoffprobe.stp
index f7169039..79c41a3c 100644
--- a/testsuite/systemtap.base/onoffprobe.stp
+++ b/testsuite/systemtap.base/onoffprobe.stp
@@ -10,13 +10,13 @@ probe begin if (switch==0) {
}
#dwarf probe (return)
-probe kernel.function("sys_write").return if (switch == 1) {
+probe kernel.function("vfs_write").return if (switch == 1) {
log("function return probed")
switch = 0
}
#dwarf probe (entry)
-probe kernel.function("sys_write") if (switch == 2) {
+probe kernel.function("vfs_write").return if (switch == 2) {
log("function entry probed")
switch = 0
}