/tools/perf/util/ |
D | probe-event.c | 420 struct perf_probe_event *pev, in get_alternative_probe_event() argument 425 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event() 426 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event() 427 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event() 428 pev->nsi, pev->uprobes); in get_alternative_probe_event() 430 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event() 866 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events() 872 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument 881 pev->nsi); in post_process_probe_trace_events() 890 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events() [all …]
|
D | bpf-loader.c | 42 struct perf_probe_event pev; member 127 cleanup_perf_probe_events(&priv->pev, 1); in clear_prog_priv() 136 prog_config__exec(const char *value, struct perf_probe_event *pev) in prog_config__exec() argument 138 pev->uprobes = true; in prog_config__exec() 139 pev->target = strdup(value); in prog_config__exec() 140 if (!pev->target) in prog_config__exec() 146 prog_config__module(const char *value, struct perf_probe_event *pev) in prog_config__module() argument 148 pev->uprobes = false; in prog_config__module() 149 pev->target = strdup(value); in prog_config__module() 150 if (!pev->target) in prog_config__module() [all …]
|
D | probe-event.h | 133 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev); 137 char *synthesize_perf_probe_command(struct perf_probe_event *pev); 145 bool perf_probe_with_var(struct perf_probe_event *pev); 148 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev); 151 void clear_perf_probe_event(struct perf_probe_event *pev); 175 struct perf_probe_event *pev, 184 void arch__fix_tev_from_maps(struct perf_probe_event *pev, 199 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
|
D | probe-file.c | 395 clear_perf_probe_event(&entry->pev); in probe_cache_entry__delete() 402 probe_cache_entry__new(struct perf_probe_event *pev) in probe_cache_entry__new() argument 411 else if (pev) { in probe_cache_entry__new() 412 entry->spev = synthesize_perf_probe_command(pev); in probe_cache_entry__new() 414 perf_probe_event__copy(&entry->pev, pev) < 0) { in probe_cache_entry__new() 544 &entry->pev); in probe_cache__load() 640 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument 643 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find() 649 if (pev->sdt) { in probe_cache__find() 650 if (entry->pev.event && in probe_cache__find() [all …]
|
D | probe-finder.h | 45 struct perf_probe_event *pev, 60 struct perf_probe_event *pev, 68 struct perf_probe_event *pev; /* Target probe event */ member
|
D | probe-file.h | 14 struct perf_probe_event pev; member 57 struct perf_probe_event *pev, 66 struct perf_probe_event *pev);
|
D | probe-finder.c | 804 .function = pf->pev->point.function, in find_best_scope() 839 if (pf->pev->point.function) { in verify_representive_line() 843 && die_match_name(&die_mem, pf->pev->point.function) in verify_representive_line() 981 pf->pev->point.lazy_line); in find_probe_point_lazy() 992 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue() 995 if (!pf->pev->uprobes) in skip_prologue() 1012 if (!perf_probe_with_var(pf->pev)) in skip_prologue() 1025 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb() 1065 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb() 1161 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location() [all …]
|
D | parse-events.c | 2786 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events() 2789 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events() 2791 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events() 2792 ent->pev.event, nd->s); in print_sdt_events()
|
/tools/perf/arch/powerpc/util/ |
D | sym-handling.c | 78 void arch__fix_tev_from_maps(struct perf_probe_event *pev, in arch__fix_tev_from_maps() argument 94 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps() 98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps() 110 if (pev->uprobes) in arch__fix_tev_from_maps() 118 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, in arch__post_process_probe_trace_events() argument 127 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events() 132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events() 135 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
|
/tools/perf/ |
D | builtin-probe.c | 55 struct perf_probe_event *pev = ¶ms.events[params.nevents]; in parse_probe_event() local 64 pev->uprobes = params.uprobes; in parse_probe_event() 66 pev->target = strdup(params.target); in parse_probe_event() 67 if (!pev->target) in parse_probe_event() 72 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event() 75 ret = parse_perf_probe_command(str, pev); in parse_probe_event() 76 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event() 256 struct perf_probe_event *pev = ¶ms.events[params.nevents]; in opt_show_vars() local 263 if (!ret && pev->nargs != 0) { in opt_show_vars() 366 struct perf_probe_event *pev = &pevs[i]; in perf_add_probe_events() local [all …]
|