summaryrefslogtreecommitdiffstats
path: root/testsuite/semok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok')
-rwxr-xr-xtestsuite/semok/thirtynine.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/semok/thirtynine.stp b/testsuite/semok/thirtynine.stp
new file mode 100755
index 00000000..a3b060cd
--- /dev/null
+++ b/testsuite/semok/thirtynine.stp
@@ -0,0 +1,7 @@
+#! stap -p2
+
+# PR 1155 discusses the trouble with inlines, but ideally this should work.
+
+probe kernel.function("context_switch") {
+ printf("switch from=0x%x to=0x%x\n", $prev, $next)
+}