GDB (xrefs)
|
Public Member Functions | |
stap_probe (std::string &&name_, std::string &&provider_, CORE_ADDR address_, struct gdbarch *arch_, CORE_ADDR sem_addr, const char *args_text) | |
CORE_ADDR | get_relocated_address (struct objfile *objfile) override |
unsigned | get_argument_count (struct gdbarch *gdbarch) override |
bool | can_evaluate_arguments () const override |
struct value * | evaluate_argument (unsigned n, frame_info_ptr frame) override |
void | compile_to_ax (struct agent_expr *aexpr, struct axs_value *axs_value, unsigned n) override |
void | set_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) override |
void | clear_semaphore (struct objfile *objfile, struct gdbarch *gdbarch) override |
const static_probe_ops * | get_static_ops () const override |
std::vector< const char * > | gen_info_probes_table_values () const override |
struct stap_probe_arg * | get_arg_by_number (unsigned n, struct gdbarch *gdbarch) |
void | parse_arguments (struct gdbarch *gdbarch) |
![]() | |
probe (std::string &&name_, std::string &&provider_, CORE_ADDR address_, struct gdbarch *arch_) | |
virtual | ~probe () |
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 | |
CORE_ADDR | m_sem_addr |
bool | m_have_parsed_args |
const char * | m_unparsed_args_text |
std::vector< struct stap_probe_arg > | m_parsed_args |
Definition at line 132 of file stap-probe.c.
|
inline |
Definition at line 136 of file stap-probe.c.
|
overridevirtual |
Implements probe.
Definition at line 1427 of file stap-probe.c.
References gdbarch_stap_is_single_operand_p(), and probe::get_gdbarch().
Referenced by get_argument_count().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1522 of file stap-probe.c.
References m_sem_addr, relocate_address(), and stap_modify_semaphore().
|
overridevirtual |
Implements probe.
Definition at line 1454 of file stap-probe.c.
References stap_probe_arg::aexpr, stap_probe_arg::atype, get_arg_by_number(), require_rvalue(), and value::type().
|
overridevirtual |
Implements probe.
Definition at line 1441 of file stap-probe.c.
References stap_probe_arg::aexpr, stap_probe_arg::atype, get_arg_by_number(), and get_frame_arch().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1540 of file stap-probe.c.
References probe::get_gdbarch(), m_sem_addr, and print_core_address().
|
inline |
Definition at line 180 of file stap-probe.c.
References probe::get_name(), m_have_parsed_args, m_parsed_args, and parse_arguments().
Referenced by compile_to_ax(), and evaluate_argument().
|
overridevirtual |
Implements probe.
Definition at line 1360 of file stap-probe.c.
References can_evaluate_arguments(), m_have_parsed_args, m_parsed_args, and parse_arguments().
|
overridevirtual |
Implements probe.
Definition at line 1351 of file stap-probe.c.
References probe::get_address(), and relocate_address().
|
overridevirtual |
void stap_probe::parse_arguments | ( | struct gdbarch * | gdbarch | ) |
Definition at line 1252 of file stap-probe.c.
References gdb_stdlog, probe::get_name(), m_have_parsed_args, m_parsed_args, m_unparsed_args_text, STAP_ARG_BITNESS_16BIT_SIGNED, STAP_ARG_BITNESS_16BIT_UNSIGNED, STAP_ARG_BITNESS_32BIT_SIGNED, STAP_ARG_BITNESS_32BIT_UNSIGNED, STAP_ARG_BITNESS_64BIT_SIGNED, STAP_ARG_BITNESS_64BIT_UNSIGNED, STAP_ARG_BITNESS_8BIT_SIGNED, STAP_ARG_BITNESS_8BIT_UNSIGNED, STAP_ARG_BITNESS_UNDEFINED, stap_expression_debug, stap_get_expected_argument_type(), and stap_parse_argument().
Referenced by get_arg_by_number(), and get_argument_count().
|
overridevirtual |
Reimplemented from probe.
Definition at line 1512 of file stap-probe.c.
References m_sem_addr, relocate_address(), and stap_modify_semaphore().
|
private |
Definition at line 222 of file stap-probe.c.
Referenced by get_arg_by_number(), get_argument_count(), and parse_arguments().
|
private |
Definition at line 230 of file stap-probe.c.
Referenced by get_arg_by_number(), get_argument_count(), and parse_arguments().
|
private |
Definition at line 219 of file stap-probe.c.
Referenced by clear_semaphore(), gen_info_probes_table_values(), and set_semaphore().
|
private |
Definition at line 225 of file stap-probe.c.
Referenced by parse_arguments().