Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dprobe-event.c1724 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev) in parse_probe_trace_command() argument
1726 struct probe_trace_point *tp = &tev->point; in parse_probe_trace_command()
1761 tev->group = strdup(fmt2_str); in parse_probe_trace_command()
1762 tev->event = strdup(fmt3_str); in parse_probe_trace_command()
1763 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command()
1767 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command()
1779 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command()
1822 tev->nargs = argc - 2; in parse_probe_trace_command()
1823 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command()
1824 if (tev->args == NULL) { in parse_probe_trace_command()
[all …]
Dprobe-event.h126 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev);
130 char *synthesize_probe_trace_command(struct probe_trace_event *tev);
144 void clear_probe_trace_event(struct probe_trace_event *tev);
176 struct probe_trace_event *tev, struct map *map,
Dprobe-file.c197 struct probe_trace_event tev; in __probe_file__get_namelist() local
200 memset(&tev, 0, sizeof(tev)); in __probe_file__get_namelist()
206 ret = parse_probe_trace_command(ent->s, &tev); in __probe_file__get_namelist()
210 ret = e_snprintf(buf, 128, "%s:%s", tev.group, in __probe_file__get_namelist()
211 tev.event); in __probe_file__get_namelist()
215 ret = strlist__add(sl, tev.event); in __probe_file__get_namelist()
216 clear_probe_trace_event(&tev); in __probe_file__get_namelist()
235 int probe_file__add_event(int fd, struct probe_trace_event *tev) in probe_file__add_event() argument
238 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event()
392 struct probe_trace_event *tev; in probe_cache_entry__get_event() local
[all …]
Dbpf-loader.c432 struct probe_trace_event *tev; in preproc_gen_prologue() local
457 tev = &pev->tevs[i]; in preproc_gen_prologue()
460 err = bpf__gen_prologue(tev->args, tev->nargs, in preproc_gen_prologue()
602 struct probe_trace_event *tev = &pev->tevs[i]; in hook_load_preprocessor() local
604 if (tev->nargs > 0) { in hook_load_preprocessor()
717 struct probe_trace_event *tev = &priv->pev.tevs[i]; in bpf__unprobe() local
722 "%s:%s", tev->group, tev->event); in bpf__unprobe()
767 struct probe_trace_event *tev; in bpf__foreach_event() local
788 tev = &pev->tevs[i]; in bpf__foreach_event()
803 err = (*func)(tev->group, tev->event, fd, arg); in bpf__foreach_event()
Dprobe-finder.c1262 struct probe_trace_event *tev; in add_probe_trace_event() local
1272 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event()
1276 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event()
1280 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event()
1281 if (!tev->point.realname) { in add_probe_trace_event()
1286 pr_debug("Probe point found: %s+%lu\n", tev->point.symbol, in add_probe_trace_event()
1287 tev->point.offset); in add_probe_trace_event()
1300 tev->nargs = ret; in add_probe_trace_event()
1301 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event()
1302 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-v4.19/tools/perf/arch/powerpc/util/
Dsym-handling.c91 struct probe_trace_event *tev, struct map *map, in arch__fix_tev_from_maps() argument
120 tev->point.offset += PPC64LE_LEP_OFFSET; in arch__fix_tev_from_maps()
123 tev->point.address += lep_offset; in arch__fix_tev_from_maps()
125 tev->point.offset += lep_offset; in arch__fix_tev_from_maps()
133 struct probe_trace_event *tev; in arch__post_process_probe_trace_events() local
144 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
146 if (map->unmap_ip(map, sym->start) == tev->point.address) { in arch__post_process_probe_trace_events()
147 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
/Linux-v4.19/tools/perf/
Dbuiltin-probe.c378 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events() local
381 show_perf_probe_event(tev->group, tev->event, pev, in perf_add_probe_events()
382 tev->point.module, false); in perf_add_probe_events()
385 event = tev->event; in perf_add_probe_events()
386 group = tev->group; in perf_add_probe_events()