Searched refs:tev (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/tools/perf/util/ |
D | probe-event.c | 1730 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev) in parse_probe_trace_command() argument 1732 struct probe_trace_point *tp = &tev->point; in parse_probe_trace_command() 1767 tev->group = strdup(fmt2_str); in parse_probe_trace_command() 1768 tev->event = strdup(fmt3_str); in parse_probe_trace_command() 1769 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command() 1773 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command() 1785 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command() 1828 if (tev->uprobes) { in parse_probe_trace_command() 1834 tev->nargs = argc - 2; in parse_probe_trace_command() 1835 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() [all …]
|
D | probe-event.h | 130 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev); 134 char *synthesize_probe_trace_command(struct probe_trace_event *tev); 148 void clear_probe_trace_event(struct probe_trace_event *tev); 180 struct probe_trace_event *tev, struct map *map,
|
D | probe-file.c | 189 struct probe_trace_event tev; in __probe_file__get_namelist() local 192 memset(&tev, 0, sizeof(tev)); in __probe_file__get_namelist() 198 ret = parse_probe_trace_command(ent->s, &tev); in __probe_file__get_namelist() 202 ret = e_snprintf(buf, 128, "%s:%s", tev.group, in __probe_file__get_namelist() 203 tev.event); in __probe_file__get_namelist() 207 ret = strlist__add(sl, tev.event); in __probe_file__get_namelist() 208 clear_probe_trace_event(&tev); in __probe_file__get_namelist() 227 int probe_file__add_event(int fd, struct probe_trace_event *tev) in probe_file__add_event() argument 230 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event() 384 struct probe_trace_event *tev; in probe_cache_entry__get_event() local [all …]
|
D | bpf-loader.c | 423 struct probe_trace_event *tev; in preproc_gen_prologue() local 448 tev = &pev->tevs[i]; in preproc_gen_prologue() 451 err = bpf__gen_prologue(tev->args, tev->nargs, in preproc_gen_prologue() 593 struct probe_trace_event *tev = &pev->tevs[i]; in hook_load_preprocessor() local 595 if (tev->nargs > 0) { in hook_load_preprocessor() 708 struct probe_trace_event *tev = &priv->pev.tevs[i]; in bpf__unprobe() local 713 "%s:%s", tev->group, tev->event); in bpf__unprobe() 758 struct probe_trace_event *tev; in bpf__foreach_event() local 779 tev = &pev->tevs[i]; in bpf__foreach_event() 794 err = (*func)(tev->group, tev->event, fd, obj, arg); in bpf__foreach_event()
|
D | probe-finder.c | 1265 struct probe_trace_event *tev; in add_probe_trace_event() local 1283 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event() 1287 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event() 1291 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event() 1292 if (!tev->point.realname) { in add_probe_trace_event() 1297 pr_debug("Probe point found: %s+%lu\n", tev->point.symbol, in add_probe_trace_event() 1298 tev->point.offset); in add_probe_trace_event() 1311 tev->nargs = ret; in add_probe_trace_event() 1312 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event() 1313 if (tev->args == NULL) { in add_probe_trace_event() [all …]
|
D | probe-file.h | 45 int probe_file__add_event(int fd, struct probe_trace_event *tev);
|
/Linux-v5.4/tools/perf/arch/powerpc/util/ |
D | sym-handling.c | 89 struct probe_trace_event *tev, struct map *map, in arch__fix_tev_from_maps() argument 118 tev->point.offset += PPC64LE_LEP_OFFSET; in arch__fix_tev_from_maps() 121 tev->point.address += lep_offset; in arch__fix_tev_from_maps() 123 tev->point.offset += lep_offset; in arch__fix_tev_from_maps() 131 struct probe_trace_event *tev; in arch__post_process_probe_trace_events() local 142 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events() 144 if (map->unmap_ip(map, sym->start) == tev->point.address) { in arch__post_process_probe_trace_events() 145 arch__fix_tev_from_maps(pev, tev, map, sym); in arch__post_process_probe_trace_events()
|
/Linux-v5.4/tools/perf/ |
D | builtin-probe.c | 366 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events() local 369 show_perf_probe_event(tev->group, tev->event, pev, in perf_add_probe_events() 370 tev->point.module, false); in perf_add_probe_events() 373 event = tev->event; in perf_add_probe_events() 374 group = tev->group; in perf_add_probe_events()
|