GDB (xrefs)
|
#include "probe.h"
Public Member Functions | |
probe (std::string &&name_, std::string &&provider_, CORE_ADDR address_, struct gdbarch *arch_) | |
virtual | ~probe () |
virtual CORE_ADDR | get_relocated_address (struct objfile *objfile)=0 |
virtual unsigned | get_argument_count (struct gdbarch *gdbarch)=0 |
virtual bool | can_evaluate_arguments () const =0 |
virtual struct value * | evaluate_argument (unsigned n, frame_info_ptr frame)=0 |
virtual void | compile_to_ax (struct agent_expr *aexpr, struct axs_value *axs_value, unsigned n)=0 |
virtual void | set_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) |
virtual void | clear_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) |
virtual const static_probe_ops * | get_static_ops () const =0 |
virtual std::vector< const char * > | gen_info_probes_table_values () const |
virtual void | enable () |
virtual void | disable () |
const std::string & | get_name () const |
const std::string & | get_provider () const |
CORE_ADDR | get_address () const |
struct gdbarch * | get_gdbarch () const |
Private Attributes | |
std::string | m_name |
std::string | m_provider |
CORE_ADDR | m_address |
struct gdbarch * | m_arch |
|
inline |
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by create_exception_master_breakpoint_probe(), and create_longjmp_master_breakpoint_probe().
|
inlinevirtual |
Reimplemented in stap_probe.
Definition at line 164 of file probe.h.
Referenced by code_breakpoint::remove_location().
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by compile_probe_arg().
|
inlinevirtual |
Reimplemented in dtrace_probe.
Definition at line 195 of file probe.h.
Referenced by disable_probes_command().
|
inlinevirtual |
Reimplemented in dtrace_probe.
Definition at line 189 of file probe.h.
Referenced by enable_probes_command().
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by compute_probe_arg(), fetch_probe_arguments(), probe_safe_evaluate_at_pc(), and svr4_handle_solib_event().
|
inlinevirtual |
Reimplemented in dtrace_probe, and stap_probe.
Definition at line 182 of file probe.h.
Referenced by gen_ui_out_table_header_info(), and print_ui_out_info().
|
inline |
Definition at line 211 of file probe.h.
References m_address.
Referenced by compare_probes(), dtrace_probe::get_relocated_address(), and stap_probe::get_relocated_address().
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by compile_probe_arg(), compute_probe_arg(), fetch_probe_arguments(), probe_safe_evaluate_at_pc(), and solib_event_probe_action().
|
inline |
Definition at line 217 of file probe.h.
References m_arch.
Referenced by dtrace_probe::can_evaluate_arguments(), stap_probe::can_evaluate_arguments(), dtrace_probe::disable(), dtrace_probe::enable(), dtrace_probe::evaluate_argument(), dtrace_probe::gen_info_probes_table_values(), stap_probe::gen_info_probes_table_values(), info_probes_for_spops(), and dtrace_probe::is_enabled().
|
inline |
Definition at line 199 of file probe.h.
References m_name.
Referenced by compare_probes(), dtrace_probe::disable(), disable_probes_command(), enable_probes_command(), fetch_probe_arguments(), dtrace_probe::get_arg_by_number(), stap_probe::get_arg_by_number(), info_probes_for_spops(), and stap_probe::parse_arguments().
|
inline |
Definition at line 205 of file probe.h.
References m_provider.
Referenced by compare_probes(), dtrace_probe::disable(), disable_probes_command(), enable_probes_command(), fetch_probe_arguments(), and info_probes_for_spops().
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by info_probes_for_spops().
|
pure virtual |
Implemented in dtrace_probe, and stap_probe.
Referenced by disable_probes_command(), enable_probes_command(), exists_probe_with_spops(), gen_ui_out_table_header_info(), info_probes_for_spops(), and print_ui_out_info().
|
inlinevirtual |
Reimplemented in stap_probe.
Definition at line 157 of file probe.h.
Referenced by code_breakpoint::insert_location().
|
private |
Definition at line 232 of file probe.h.
Referenced by get_address().
|
private |
Definition at line 235 of file probe.h.
Referenced by get_gdbarch().
|
private |
Definition at line 224 of file probe.h.
Referenced by get_name().
|
private |
Definition at line 228 of file probe.h.
Referenced by get_provider().