return [grep_kallsyms perf_event_create_kernel_counter]
}
+proc hwbkpt_probes_p {} {
+ global have_hw_breakpoint_p
+ return $have_hw_breakpoint_p
+}
+
proc dyninst_p {} {
global systemtap_dyninst_p
return $systemtap_dyninst_p
return $systemtap_java_p
}
-proc hw_breakpoint_p {} {
- global have_hw_breakpoint_p
- return $have_hw_breakpoint_p
-}
-
proc get_runtime_list {} {
# Always return the default runtime.
set runtime_list [list ""]
kernel.data(string).rw -
kernel.data(string).write
{
- if {![hw_breakpoint_p]} {
+ if {![hwbkpt_probes_p]} {
setup_kfail HW_BKPT *-*-*
}
}
stap_list {java("JavaProc").class("MyClass").method("MyMethod").return}
-if {[hw_breakpoint_p]} {
+if {[hwbkpt_probes_p]} {
testing_probe {kernel.data(number).length(number).rw}