Home
last modified time | relevance | path

Searched refs:pev (Results 1 – 10 of 10) sorted by relevance

/tools/perf/util/
Dprobe-event.c426 struct perf_probe_event *pev, in get_alternative_probe_event() argument
431 memcpy(tmp, &pev->point, sizeof(*tmp)); in get_alternative_probe_event()
432 memset(&pev->point, 0, sizeof(pev->point)); in get_alternative_probe_event()
433 ret = find_alternative_probe_point(dinfo, tmp, &pev->point, pev->target, in get_alternative_probe_event()
434 pev->nsi, pev->uprobes); in get_alternative_probe_event()
436 memcpy(&pev->point, tmp, sizeof(*tmp)); in get_alternative_probe_event()
809 arch__post_process_probe_trace_events(struct perf_probe_event *pev __maybe_unused, in arch__post_process_probe_trace_events()
815 static int post_process_probe_trace_events(struct perf_probe_event *pev, in post_process_probe_trace_events() argument
824 pev->nsi); in post_process_probe_trace_events()
833 arch__post_process_probe_trace_events(pev, ntevs); in post_process_probe_trace_events()
[all …]
Dbpf-loader.c47 struct perf_probe_event pev; member
136 cleanup_perf_probe_events(&priv->pev, 1); in clear_prog_priv()
145 prog_config__exec(const char *value, struct perf_probe_event *pev) in prog_config__exec() argument
147 pev->uprobes = true; in prog_config__exec()
148 pev->target = strdup(value); in prog_config__exec()
149 if (!pev->target) in prog_config__exec()
155 prog_config__module(const char *value, struct perf_probe_event *pev) in prog_config__module() argument
157 pev->uprobes = false; in prog_config__module()
158 pev->target = strdup(value); in prog_config__module()
159 if (!pev->target) in prog_config__module()
[all …]
Dprobe-event.h125 int parse_perf_probe_command(const char *cmd, struct perf_probe_event *pev);
129 char *synthesize_perf_probe_command(struct perf_probe_event *pev);
137 bool perf_probe_with_var(struct perf_probe_event *pev);
140 bool perf_probe_event_need_dwarf(struct perf_probe_event *pev);
143 void clear_perf_probe_event(struct perf_probe_event *pev);
166 struct perf_probe_event *pev,
175 void arch__fix_tev_from_maps(struct perf_probe_event *pev,
190 void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
Dprobe-file.c360 clear_perf_probe_event(&entry->pev); in probe_cache_entry__delete()
367 probe_cache_entry__new(struct perf_probe_event *pev) in probe_cache_entry__new() argument
376 else if (pev) { in probe_cache_entry__new()
377 entry->spev = synthesize_perf_probe_command(pev); in probe_cache_entry__new()
379 perf_probe_event__copy(&entry->pev, pev) < 0) { in probe_cache_entry__new()
509 &entry->pev); in probe_cache__load()
601 probe_cache__find(struct probe_cache *pcache, struct perf_probe_event *pev) in probe_cache__find() argument
604 char *cmd = synthesize_perf_probe_command(pev); in probe_cache__find()
610 if (pev->sdt) { in probe_cache__find()
611 if (entry->pev.event && in probe_cache__find()
[all …]
Dprobe-finder.h43 struct perf_probe_event *pev,
58 struct perf_probe_event *pev,
66 struct perf_probe_event *pev; /* Target probe event */ member
Dprobe-file.h14 struct perf_probe_event pev; member
57 struct perf_probe_event *pev,
66 struct perf_probe_event *pev);
Dprobe-finder.c777 .function = pf->pev->point.function, in find_best_scope()
912 pf->pev->point.lazy_line); in find_probe_point_lazy()
923 struct perf_probe_point *pp = &pf->pev->point; in skip_prologue()
926 if (!pf->pev->uprobes) in skip_prologue()
943 if (!perf_probe_with_var(pf->pev)) in skip_prologue()
956 struct perf_probe_point *pp = &pf->pev->point; in probe_point_inline_cb()
996 struct perf_probe_point *pp = &pf->pev->point; in probe_point_search_cb()
1092 struct perf_probe_point *pp = &pf->pev->point; in debuginfo__find_probe_location()
1244 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args()
1246 if (strcmp(pf->pev->args[i].var, PROBE_ARG_VARS) == 0) in expand_probe_args()
[all …]
Dparse-events.c2153 !strglobmatch(ent->pev.group, subsys_glob)) in print_sdt_events()
2156 !strglobmatch(ent->pev.event, event_glob)) in print_sdt_events()
2158 ret = asprintf(&buf, "%s:%s@%s", ent->pev.group, in print_sdt_events()
2159 ent->pev.event, nd->s); in print_sdt_events()
/tools/perf/arch/powerpc/util/
Dsym-handling.c90 void arch__fix_tev_from_maps(struct perf_probe_event *pev, in arch__fix_tev_from_maps() argument
106 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps()
110 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
122 if (pev->uprobes) in arch__fix_tev_from_maps()
130 void arch__post_process_probe_trace_events(struct perf_probe_event *pev, in arch__post_process_probe_trace_events() argument
139 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
144 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
147 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/tools/perf/
Dbuiltin-probe.c67 struct perf_probe_event *pev = &params.events[params.nevents]; in parse_probe_event() local
76 pev->uprobes = params.uprobes; in parse_probe_event()
78 pev->target = strdup(params.target); in parse_probe_event()
79 if (!pev->target) in parse_probe_event()
85 pev->nsi = nsinfo__get(params.nsi); in parse_probe_event()
88 ret = parse_perf_probe_command(str, pev); in parse_probe_event()
89 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event()
269 struct perf_probe_event *pev = &params.events[params.nevents]; in opt_show_vars() local
276 if (!ret && pev->nargs != 0) { in opt_show_vars()
376 struct perf_probe_event *pev = &pevs[i]; in perf_add_probe_events() local
[all …]