summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/semok/eleven.stp4
-rwxr-xr-xtestsuite/semok/five.stp2
-rwxr-xr-xtestsuite/semok/four.stp2
-rwxr-xr-xtestsuite/semok/one.stp2
-rwxr-xr-xtestsuite/semok/seven.stp2
-rwxr-xr-xtestsuite/semok/six.stp2
-rwxr-xr-xtestsuite/semok/three.stp2
-rwxr-xr-xtestsuite/semok/two.stp2
8 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/semok/eleven.stp b/testsuite/semok/eleven.stp
index bcfa4222..f7fc6914 100755
--- a/testsuite/semok/eleven.stp
+++ b/testsuite/semok/eleven.stp
@@ -7,7 +7,7 @@ function string (v) { return "" }
function hexstring (v) { return "" }
function trace (s) { return 0 }
-probe kernel.syscall("read") {
+probe begin /* kernel.syscall("read") */ {
$count=0 $timestamp=0 $fd=0
thread->entry_time = $timestamp # "macro" variable
@@ -17,7 +17,7 @@ probe kernel.syscall("read") {
"my_fd = " . string(thread->my_fd))
}
-probe kernel.syscall("read").return {
+probe end /* kernel.syscall("read").return */ {
$syscall_name="" $retvalue=0
if (thread->entry_time) {
diff --git a/testsuite/semok/five.stp b/testsuite/semok/five.stp
index 4e229f42..31079d5a 100755
--- a/testsuite/semok/five.stp
+++ b/testsuite/semok/five.stp
@@ -1,7 +1,7 @@
#! stap -p2
global array
-probe foo
+probe begin
{
array[1] = array[2] = 3;
statvar <<< value <<< 4;
diff --git a/testsuite/semok/four.stp b/testsuite/semok/four.stp
index 978ec557..3a7e38f3 100755
--- a/testsuite/semok/four.stp
+++ b/testsuite/semok/four.stp
@@ -17,7 +17,7 @@ function stamp (syscall)
# probe kernel:syscall:read = kernel:function("sys_read");
-probe syscall ("read")
+probe begin /* syscall ("read") */
{
stamp ("read");
}
diff --git a/testsuite/semok/one.stp b/testsuite/semok/one.stp
index 909d8eac..beea8a4c 100755
--- a/testsuite/semok/one.stp
+++ b/testsuite/semok/one.stp
@@ -19,7 +19,7 @@ function stamp (syscall)
# probe kernel:syscall:read = kernel:function("sys_read");
-probe syscall ("read")
+probe begin /* syscall ("read") */
{
stamp ("read");
}
diff --git a/testsuite/semok/seven.stp b/testsuite/semok/seven.stp
index b9ce8cb9..98d78f05 100755
--- a/testsuite/semok/seven.stp
+++ b/testsuite/semok/seven.stp
@@ -13,7 +13,7 @@ function search (key)
return "no can do" # implies ar2[]: string
}
-probe syscall("zamboni")
+probe begin /* syscall("zamboni") */
{
thread->ar2 = string ($tgid);
search ($pid)
diff --git a/testsuite/semok/six.stp b/testsuite/semok/six.stp
index ef14827c..f77baad8 100755
--- a/testsuite/semok/six.stp
+++ b/testsuite/semok/six.stp
@@ -2,7 +2,7 @@
global bar, baz
-probe foo
+probe begin
{
thread->bar = 4;
process->baz = "5";
diff --git a/testsuite/semok/three.stp b/testsuite/semok/three.stp
index 41d726a0..6d822d0d 100755
--- a/testsuite/semok/three.stp
+++ b/testsuite/semok/three.stp
@@ -1,7 +1,7 @@
#! stap -p2
global b
-probe foo {
+probe begin {
a <<< 2;
b[4] <<< 4;
}
diff --git a/testsuite/semok/two.stp b/testsuite/semok/two.stp
index e68d596e..c5645d2b 100755
--- a/testsuite/semok/two.stp
+++ b/testsuite/semok/two.stp
@@ -7,7 +7,7 @@ function koo (p) {
return p + 2;
}
-probe foo {
+probe end {
bar = 2 + koo (4);
foo = bar + koo;
}