2 #ifndef _PROBE_FINDER_H 3 #define _PROBE_FINDER_H 10 #define MAX_PROBE_BUFFER 1024 11 #define MAX_PROBES 128 12 #define MAX_PROBE_ARGS 128 14 #define PROBE_ARG_VARS "$vars" 15 #define PROBE_ARG_PARAMS "$params" 20 return isalpha(name[0]) || name[0] ==
'_';
23 #ifdef HAVE_DWARF_SUPPORT 69 int (*callback)(Dwarf_Die *sc_die,
struct probe_finder *pf);
80 #if _ELFUTILS_PREREQ(0, 142) 92 struct trace_event_finder {
93 struct probe_finder pf;
100 struct available_var_finder {
101 struct probe_finder pf;
int debuginfo__find_line_range(struct debuginfo *dbg, struct line_range *lr)
int debuginfo__find_probe_point(struct debuginfo *dbg, unsigned long addr, struct perf_probe_point *ppt)
int debuginfo__find_trace_events(struct debuginfo *dbg, struct perf_probe_event *pev, struct probe_trace_event **tevs)
int get_real_path(const char *raw_path, const char *comp_dir, char **new_path)
static int is_c_varname(const char *name)
int debuginfo__find_available_vars_at(struct debuginfo *dbg, struct perf_probe_event *pev, struct variable_list **vls)
int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs, bool adjust_offset)
void debuginfo__delete(struct debuginfo *dbg)
struct debuginfo * debuginfo__new(const char *path)