Home
last modified time | relevance | path

Searched refs:tev (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dprobe-event.c1845 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev) in parse_probe_trace_command() argument
1847 struct probe_trace_point *tp = &tev->point; in parse_probe_trace_command()
1881 tev->group = strdup(fmt2_str); in parse_probe_trace_command()
1882 tev->event = strdup(fmt3_str); in parse_probe_trace_command()
1883 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command()
1887 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command()
1899 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command()
1942 if (tev->uprobes) { in parse_probe_trace_command()
1948 tev->nargs = argc - 2; in parse_probe_trace_command()
1949 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command()
[all …]
Dprobe-event.h134 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev);
138 char *synthesize_probe_trace_command(struct probe_trace_event *tev);
151 void clear_probe_trace_event(struct probe_trace_event *tev);
184 struct probe_trace_event *tev, struct map *map,
Dprobe-file.c224 struct probe_trace_event tev; in __probe_file__get_namelist() local
227 memset(&tev, 0, sizeof(tev)); in __probe_file__get_namelist()
233 ret = parse_probe_trace_command(ent->s, &tev); in __probe_file__get_namelist()
237 ret = e_snprintf(buf, 128, "%s:%s", tev.group, in __probe_file__get_namelist()
238 tev.event); in __probe_file__get_namelist()
242 ret = strlist__add(sl, tev.event); in __probe_file__get_namelist()
243 clear_probe_trace_event(&tev); in __probe_file__get_namelist()
265 int probe_file__add_event(int fd, struct probe_trace_event *tev) in probe_file__add_event() argument
268 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event()
427 struct probe_trace_event *tev; in probe_cache_entry__get_event() local
[all …]
Dprobe-finder.c1364 struct probe_trace_event *tev; in add_probe_trace_event() local
1382 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event()
1386 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event()
1390 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event()
1391 if (!tev->point.realname) { in add_probe_trace_event()
1396 pr_debug("Probe point found: %s+%lu\n", tev->point.symbol, in add_probe_trace_event()
1397 tev->point.offset); in add_probe_trace_event()
1410 tev->nargs = ret; in add_probe_trace_event()
1411 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event()
1412 if (tev->args == NULL) { in add_probe_trace_event()
[all …]
Dprobe-file.h45 int probe_file__add_event(int fd, struct probe_trace_event *tev);
/Linux-v6.6/tools/perf/arch/powerpc/util/
Dsym-handling.c79 struct probe_trace_event *tev, struct map *map, in arch__fix_tev_from_maps() argument
108 tev->point.offset += PPC64LE_LEP_OFFSET; in arch__fix_tev_from_maps()
111 tev->point.address += lep_offset; in arch__fix_tev_from_maps()
113 tev->point.offset += lep_offset; in arch__fix_tev_from_maps()
121 struct probe_trace_event *tev; in arch__post_process_probe_trace_events() local
132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
134 if (map__unmap_ip(map, sym->start) == tev->point.address) { in arch__post_process_probe_trace_events()
135 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/Linux-v6.6/tools/perf/
Dbuiltin-probe.c378 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events() local
380 if (!tev->event) in perf_add_probe_events()
384 show_perf_probe_event(tev->group, tev->event, pev, in perf_add_probe_events()
385 tev->point.module, false); in perf_add_probe_events()
388 event = tev->event; in perf_add_probe_events()
389 group = tev->group; in perf_add_probe_events()