New commands `enable probe' and `disable probe'.
[deliverable/binutils-gdb.git] / gdb / probe.h
index 5df1976af57ae7cba8fa880e7b149b20a397f8d2..e8d5dfe0ba351eea630bcba8901fb0771f6fecf4 100644 (file)
@@ -138,6 +138,18 @@ struct probe_ops
 
     void (*gen_info_probes_table_values) (struct probe *probe,
                                          VEC (const_char_ptr) **values);
+
+    /* Enable a probe.  The semantics of "enabling" a probe depend on
+       the specific backend and the field can be NULL in case enabling
+       probes is not supported.  */
+
+    void (*enable_probe) (struct probe *probe);
+
+    /* Disable a probe.  The semantics of "disabling" a probe depend
+       on the specific backend and the field can be NULL in case
+       disabling probes is not supported.  */
+
+    void (*disable_probe) (struct probe *probe);
   };
 
 /* Definition of a vector of probe_ops.  */
This page took 0.024077 seconds and 4 git commands to generate.