summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/hwbkpt.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/hwbkpt.stp')
-rwxr-xr-xtestsuite/buildok/hwbkpt.stp14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/buildok/hwbkpt.stp b/testsuite/buildok/hwbkpt.stp
new file mode 100755
index 00000000..ac1a6f9c
--- /dev/null
+++ b/testsuite/buildok/hwbkpt.stp
@@ -0,0 +1,14 @@
+#! stap -wp4
+
+probe
+%(CONFIG_PERF_EVENTS=="y" && CONFIG_HAVE_HW_BREAKPOINT=="y" %?
+ kernel.data("pid_max").write
+%:
+ never
+%) {}
+probe
+%(CONFIG_PERF_EVENTS=="y" && CONFIG_HAVE_HW_BREAKPOINT=="y" %?
+ kernel.data("pid_max").rw
+%:
+ never
+%) {}