summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-xtestsuite/semko/fortyfive.stp3
-rwxr-xr-xtestsuite/semko/zero.stp6
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/semko/fortyfive.stp b/testsuite/semko/fortyfive.stp
new file mode 100755
index 00000000..d295bbde
--- /dev/null
+++ b/testsuite/semko/fortyfive.stp
@@ -0,0 +1,3 @@
+#! stap -p2
+
+probe kernel.function("*@kernel/kprobes.c") {} // blacklisted
diff --git a/testsuite/semko/zero.stp b/testsuite/semko/zero.stp
new file mode 100755
index 00000000..bb116be7
--- /dev/null
+++ b/testsuite/semko/zero.stp
@@ -0,0 +1,6 @@
+#! stap -p2
+
+probe begin {
+ print (1 = a)
+ print (a+1 = 4)
+}