summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/six.stp5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/buildok/six.stp b/testsuite/buildok/six.stp
new file mode 100755
index 00000000..a63ad99b
--- /dev/null
+++ b/testsuite/buildok/six.stp
@@ -0,0 +1,5 @@
+#! stap -p4
+
+probe kernel.function("context_switch") {
+ log ("switch from=" . hexstring($prev) . " to=" . hexstring($next))
+}