Searched refs:tev (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | probe-event.c | 1899 int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev) in parse_probe_trace_command() argument 1901 struct probe_trace_point *tp = &tev->point; in parse_probe_trace_command() 1935 tev->group = strdup(fmt2_str); in parse_probe_trace_command() 1936 tev->event = strdup(fmt3_str); in parse_probe_trace_command() 1937 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command() 1941 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command() 1953 tev->uprobes = (tp->module[0] == '/'); in parse_probe_trace_command() 1996 if (tev->uprobes) { in parse_probe_trace_command() 2002 tev->nargs = argc - 2; in parse_probe_trace_command() 2003 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() [all …]
|
| H A 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() 408 struct probe_trace_event *tev; in probe_cache_entry__get_event() local [all …]
|
| H A D | probe-finder.c | 1270 struct probe_trace_event *tev; in add_probe_trace_event() local 1288 tev = &tf->tevs[tf->ntevs++]; in add_probe_trace_event() 1292 pp->retprobe, pp->function, &tev->point); in add_probe_trace_event() 1296 tev->point.realname = strdup(dwarf_diename(sc_die)); in add_probe_trace_event() 1297 if (!tev->point.realname) { in add_probe_trace_event() 1302 tev->lang = dwarf_srclang(dwarf_diecu(sc_die, &pf->cu_die, NULL, NULL)); in add_probe_trace_event() 1304 pr_debug("Probe point found: %s+%lu\n", tev->point.symbol, in add_probe_trace_event() 1305 tev->point.offset); in add_probe_trace_event() 1318 tev->nargs = ret; in add_probe_trace_event() 1319 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event() [all …]
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A 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()
|