Searched refs:tev (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | probe-event.c | 1835 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev) in parse_probe_trace_command() argument 1837 struct probe_trace_point *tp = &tev->point; in parse_probe_trace_command() 1871 tev->group = strdup(fmt2_str); in parse_probe_trace_command() 1872 tev->event = strdup(fmt3_str); in parse_probe_trace_command() 1873 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command() 1877 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command() 1889 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command() 1932 if (tev->uprobes) { in parse_probe_trace_command() 1938 tev->nargs = argc - 2; in parse_probe_trace_command() 1939 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() [all …]
|
D | probe-event.h | 134 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev); 138 char *synthesize_probe_trace_command(struct probe_trace_event *tev); 152 void clear_probe_trace_event(struct probe_trace_event *tev); 185 struct probe_trace_event *tev, struct map *map,
|
D | probe-file.c | 224 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 …]
|
D | bpf-loader.c | 661 struct probe_trace_event *tev; in preproc_gen_prologue() local 686 tev = &pev->tevs[i]; in preproc_gen_prologue() 689 err = bpf__gen_prologue(tev->args, tev->nargs, in preproc_gen_prologue() 827 struct probe_trace_event *tev = &pev->tevs[i]; in hook_load_preprocessor() local 829 if (tev->nargs > 0) { in hook_load_preprocessor() 946 struct probe_trace_event *tev = &priv->pev.tevs[i]; in bpf__unprobe() local 951 "%s:%s", tev->group, tev->event); in bpf__unprobe() 1067 struct probe_trace_event *tev; in bpf__foreach_event() local 1088 tev = &pev->tevs[i]; in bpf__foreach_event() 1100 err = (*func)(tev->group, tev->event, fd, obj, arg); in bpf__foreach_event()
|
D | probe-finder.c | 1355 struct probe_trace_event *tev; in add_probe_trace_event() local 1373 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event() 1377 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event() 1381 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event() 1382 if (!tev->point.realname) { in add_probe_trace_event() 1387 pr_debug("Probe point found: %s+%lu\n", tev->point.symbol, in add_probe_trace_event() 1388 tev->point.offset); in add_probe_trace_event() 1401 tev->nargs = ret; in add_probe_trace_event() 1402 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event() 1403 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-6.1.9/tools/perf/arch/powerpc/util/ |
D | sym-handling.c | 79 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-6.1.9/tools/perf/ |
D | builtin-probe.c | 369 struct probe_trace_event *tev = &pev->tevs[k]; in perf_add_probe_events() local 371 if (!tev->event) in perf_add_probe_events() 375 show_perf_probe_event(tev->group, tev->event, pev, in perf_add_probe_events() 376 tev->point.module, false); in perf_add_probe_events() 379 event = tev->event; in perf_add_probe_events() 380 group = tev->group; in perf_add_probe_events()
|