X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fprobe.h;h=e8d5dfe0ba351eea630bcba8901fb0771f6fecf4;hb=9aca2ff83e4299875343cb07add9c0ef7e5f3188;hp=5df1976af57ae7cba8fa880e7b149b20a397f8d2;hpb=03e98035a2a5d928ceb36ddd7b43369fbf72a008;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/probe.h b/gdb/probe.h index 5df1976af5..e8d5dfe0ba 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -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. */