summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/twentyone.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/twentyone.stp')
-rwxr-xr-xtestsuite/semko/twentyone.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/semko/twentyone.stp b/testsuite/semko/twentyone.stp
new file mode 100755
index 00000000..9137a88b
--- /dev/null
+++ b/testsuite/semko/twentyone.stp
@@ -0,0 +1,8 @@
+#! stap -p4
+
+# tests that an inline function is *not* matched using
+# the function() pattern
+
+probe kernel.function("context_switch") {
+ log ("found an inline via function()")
+}