tev                89 tools/perf/arch/powerpc/util/sym-handling.c 			     struct probe_trace_event *tev, struct map *map,
tev               118 tools/perf/arch/powerpc/util/sym-handling.c 		tev->point.offset += PPC64LE_LEP_OFFSET;
tev               121 tools/perf/arch/powerpc/util/sym-handling.c 			tev->point.address += lep_offset;
tev               123 tools/perf/arch/powerpc/util/sym-handling.c 			tev->point.offset += lep_offset;
tev               131 tools/perf/arch/powerpc/util/sym-handling.c 	struct probe_trace_event *tev;
tev               142 tools/perf/arch/powerpc/util/sym-handling.c 		tev = &pev->tevs[i];
tev               144 tools/perf/arch/powerpc/util/sym-handling.c 			if (map->unmap_ip(map, sym->start) == tev->point.address) {
tev               145 tools/perf/arch/powerpc/util/sym-handling.c 				arch__fix_tev_from_maps(pev, tev, map, sym);
tev               366 tools/perf/builtin-probe.c 			struct probe_trace_event *tev = &pev->tevs[k];
tev               369 tools/perf/builtin-probe.c 			show_perf_probe_event(tev->group, tev->event, pev,
tev               370 tools/perf/builtin-probe.c 					      tev->point.module, false);
tev               373 tools/perf/builtin-probe.c 			event = tev->event;
tev               374 tools/perf/builtin-probe.c 			group = tev->group;
tev               423 tools/perf/util/bpf-loader.c 	struct probe_trace_event *tev;
tev               448 tools/perf/util/bpf-loader.c 	tev = &pev->tevs[i];
tev               451 tools/perf/util/bpf-loader.c 	err = bpf__gen_prologue(tev->args, tev->nargs,
tev               593 tools/perf/util/bpf-loader.c 		struct probe_trace_event *tev = &pev->tevs[i];
tev               595 tools/perf/util/bpf-loader.c 		if (tev->nargs > 0) {
tev               708 tools/perf/util/bpf-loader.c 			struct probe_trace_event *tev = &priv->pev.tevs[i];
tev               713 tools/perf/util/bpf-loader.c 				 "%s:%s", tev->group, tev->event);
tev               758 tools/perf/util/bpf-loader.c 		struct probe_trace_event *tev;
tev               779 tools/perf/util/bpf-loader.c 			tev = &pev->tevs[i];
tev               794 tools/perf/util/bpf-loader.c 			err = (*func)(tev->group, tev->event, fd, obj, arg);
tev              1730 tools/perf/util/probe-event.c int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev)
tev              1732 tools/perf/util/probe-event.c 	struct probe_trace_point *tp = &tev->point;
tev              1766 tools/perf/util/probe-event.c 	tev->group = strdup(fmt2_str);
tev              1767 tools/perf/util/probe-event.c 	tev->event = strdup(fmt3_str);
tev              1768 tools/perf/util/probe-event.c 	if (tev->group == NULL || tev->event == NULL) {
tev              1772 tools/perf/util/probe-event.c 	pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr);
tev              1784 tools/perf/util/probe-event.c 		tev->uprobes = (tp->module[0] == '/');
tev              1827 tools/perf/util/probe-event.c 	if (tev->uprobes) {
tev              1833 tools/perf/util/probe-event.c 	tev->nargs = argc - 2;
tev              1834 tools/perf/util/probe-event.c 	tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs);
tev              1835 tools/perf/util/probe-event.c 	if (tev->args == NULL) {
tev              1839 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs; i++) {
tev              1845 tools/perf/util/probe-event.c 		tev->args[i].name = strdup(argv[i + 2]);
tev              1847 tools/perf/util/probe-event.c 		tev->args[i].value = strdup(p);
tev              1848 tools/perf/util/probe-event.c 		if (tev->args[i].name == NULL || tev->args[i].value == NULL) {
tev              2027 tools/perf/util/probe-event.c synthesize_uprobe_trace_def(struct probe_trace_event *tev, struct strbuf *buf)
tev              2029 tools/perf/util/probe-event.c 	struct probe_trace_point *tp = &tev->point;
tev              2042 tools/perf/util/probe-event.c char *synthesize_probe_trace_command(struct probe_trace_event *tev)
tev              2044 tools/perf/util/probe-event.c 	struct probe_trace_point *tp = &tev->point;
tev              2050 tools/perf/util/probe-event.c 	if (tev->uprobes && !tp->module)
tev              2057 tools/perf/util/probe-event.c 			tev->group, tev->event) < 0)
tev              2065 tools/perf/util/probe-event.c 	if (tev->uprobes && !tp->address) {
tev              2071 tools/perf/util/probe-event.c 	if (tev->uprobes) {
tev              2072 tools/perf/util/probe-event.c 		err = synthesize_uprobe_trace_def(tev, &buf);
tev              2085 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs; i++)
tev              2086 tools/perf/util/probe-event.c 		if (synthesize_probe_trace_arg(&tev->args[i], &buf) < 0)
tev              2171 tools/perf/util/probe-event.c static int convert_to_perf_probe_event(struct probe_trace_event *tev,
tev              2178 tools/perf/util/probe-event.c 	pev->event = strdup(tev->event);
tev              2179 tools/perf/util/probe-event.c 	pev->group = strdup(tev->group);
tev              2184 tools/perf/util/probe-event.c 	ret = convert_to_perf_probe_point(&tev->point, &pev->point, is_kprobe);
tev              2189 tools/perf/util/probe-event.c 	pev->nargs = tev->nargs;
tev              2193 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs && ret >= 0; i++) {
tev              2194 tools/perf/util/probe-event.c 		if (tev->args[i].name)
tev              2195 tools/perf/util/probe-event.c 			pev->args[i].name = strdup(tev->args[i].name);
tev              2199 tools/perf/util/probe-event.c 			ret = synthesize_probe_trace_arg(&tev->args[i], &buf);
tev              2311 tools/perf/util/probe-event.c void clear_probe_trace_event(struct probe_trace_event *tev)
tev              2316 tools/perf/util/probe-event.c 	zfree(&tev->event);
tev              2317 tools/perf/util/probe-event.c 	zfree(&tev->group);
tev              2318 tools/perf/util/probe-event.c 	zfree(&tev->point.symbol);
tev              2319 tools/perf/util/probe-event.c 	zfree(&tev->point.realname);
tev              2320 tools/perf/util/probe-event.c 	zfree(&tev->point.module);
tev              2321 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs; i++) {
tev              2322 tools/perf/util/probe-event.c 		zfree(&tev->args[i].name);
tev              2323 tools/perf/util/probe-event.c 		zfree(&tev->args[i].value);
tev              2324 tools/perf/util/probe-event.c 		zfree(&tev->args[i].type);
tev              2325 tools/perf/util/probe-event.c 		ref = tev->args[i].ref;
tev              2332 tools/perf/util/probe-event.c 	zfree(&tev->args);
tev              2333 tools/perf/util/probe-event.c 	tev->nargs = 0;
tev              2507 tools/perf/util/probe-event.c static bool filter_probe_trace_event(struct probe_trace_event *tev,
tev              2513 tools/perf/util/probe-event.c 	if (strfilter__compare(filter, tev->event))
tev              2517 tools/perf/util/probe-event.c 	if (e_snprintf(tmp, 128, "%s:%s", tev->group, tev->event) < 0)
tev              2526 tools/perf/util/probe-event.c 	struct probe_trace_event tev;
tev              2531 tools/perf/util/probe-event.c 	memset(&tev, 0, sizeof(tev));
tev              2539 tools/perf/util/probe-event.c 		ret = parse_probe_trace_command(ent->s, &tev);
tev              2541 tools/perf/util/probe-event.c 			if (!filter_probe_trace_event(&tev, filter))
tev              2543 tools/perf/util/probe-event.c 			ret = convert_to_perf_probe_event(&tev, &pev,
tev              2548 tools/perf/util/probe-event.c 						    &pev, tev.point.module,
tev              2553 tools/perf/util/probe-event.c 		clear_probe_trace_event(&tev);
tev              2661 tools/perf/util/probe-event.c static void warn_uprobe_event_compat(struct probe_trace_event *tev)
tev              2664 tools/perf/util/probe-event.c 	char *buf = synthesize_probe_trace_command(tev);
tev              2665 tools/perf/util/probe-event.c 	struct probe_trace_point *tp = &tev->point;
tev              2670 tools/perf/util/probe-event.c 			   tev->group, tev->event);
tev              2674 tools/perf/util/probe-event.c 	if (!tev->uprobes || tev->nargs == 0 || !buf)
tev              2677 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs; i++)
tev              2678 tools/perf/util/probe-event.c 		if (strglobmatch(tev->args[i].value, "[$@+-]*")) {
tev              2681 tools/perf/util/probe-event.c 				   tev->args[i].value);
tev              2689 tools/perf/util/probe-event.c static int probe_trace_event__set_name(struct probe_trace_event *tev,
tev              2701 tools/perf/util/probe-event.c 	else if (tev->event)
tev              2702 tools/perf/util/probe-event.c 		event = tev->event;
tev              2710 tools/perf/util/probe-event.c 			event = tev->point.realname;
tev              2714 tools/perf/util/probe-event.c 	else if (tev->group)
tev              2715 tools/perf/util/probe-event.c 		group = tev->group;
tev              2721 tools/perf/util/probe-event.c 				 tev->point.retprobe, allow_suffix);
tev              2727 tools/perf/util/probe-event.c 	tev->event = strdup(event);
tev              2728 tools/perf/util/probe-event.c 	tev->group = strdup(group);
tev              2729 tools/perf/util/probe-event.c 	if (tev->event == NULL || tev->group == NULL)
tev              2761 tools/perf/util/probe-event.c 	struct probe_trace_event *tev = NULL;
tev              2773 tools/perf/util/probe-event.c 		tev = &tevs[i];
tev              2774 tools/perf/util/probe-event.c 		up = tev->uprobes ? 1 : 0;
tev              2782 tools/perf/util/probe-event.c 		if (!tev->point.symbol && !pev->uprobes)
tev              2786 tools/perf/util/probe-event.c 		ret = probe_trace_event__set_name(tev, pev, namelist[up],
tev              2792 tools/perf/util/probe-event.c 		ret = probe_file__add_event(fd[up], tev);
tev              2806 tools/perf/util/probe-event.c 		warn_uprobe_event_compat(tev);
tev              2871 tools/perf/util/probe-event.c 				struct probe_trace_event *tev __maybe_unused,
tev              2886 tools/perf/util/probe-event.c 	struct probe_trace_event *tev;
tev              2934 tools/perf/util/probe-event.c 	*tevs = zalloc(sizeof(*tev) * num_matched_functions);
tev              2945 tools/perf/util/probe-event.c 		tev = (*tevs) + ret;
tev              2946 tools/perf/util/probe-event.c 		tp = &tev->point;
tev              2979 tools/perf/util/probe-event.c 				tev->point.module = strdup_or_goto(pev->target,
tev              2983 tools/perf/util/probe-event.c 				tev->point.module =
tev              2986 tools/perf/util/probe-event.c 				if (!tev->point.module)
tev              2990 tools/perf/util/probe-event.c 		tev->uprobes = pev->uprobes;
tev              2991 tools/perf/util/probe-event.c 		tev->nargs = pev->nargs;
tev              2992 tools/perf/util/probe-event.c 		if (tev->nargs) {
tev              2993 tools/perf/util/probe-event.c 			tev->args = zalloc(sizeof(struct probe_trace_arg) *
tev              2994 tools/perf/util/probe-event.c 					   tev->nargs);
tev              2995 tools/perf/util/probe-event.c 			if (tev->args == NULL)
tev              2998 tools/perf/util/probe-event.c 		for (i = 0; i < tev->nargs; i++) {
tev              3000 tools/perf/util/probe-event.c 				tev->args[i].name =
tev              3004 tools/perf/util/probe-event.c 			tev->args[i].value = strdup_or_goto(pev->args[i].var,
tev              3007 tools/perf/util/probe-event.c 				tev->args[i].type =
tev              3011 tools/perf/util/probe-event.c 		arch__fix_tev_from_maps(pev, tev, map, sym);
tev              3035 tools/perf/util/probe-event.c 	struct probe_trace_event *tev;
tev              3050 tools/perf/util/probe-event.c 	*tevs = zalloc(sizeof(*tev));
tev              3054 tools/perf/util/probe-event.c 	tev = *tevs;
tev              3055 tools/perf/util/probe-event.c 	tp = &tev->point;
tev              3064 tools/perf/util/probe-event.c 	tev->uprobes = pev->uprobes;
tev              3076 tools/perf/util/probe-event.c 	if ((!tev->uprobes) &&
tev              3077 tools/perf/util/probe-event.c 	    (kprobe_warn_out_range(tev->point.symbol,
tev              3078 tools/perf/util/probe-event.c 				   tev->point.address))) {
tev              3092 tools/perf/util/probe-event.c 	if (tev->group) {
tev              3093 tools/perf/util/probe-event.c 		tev->group = strdup(pev->group);
tev              3094 tools/perf/util/probe-event.c 		if (!tev->group)
tev              3099 tools/perf/util/probe-event.c 		tev->event = strdup(pev->event);
tev              3100 tools/perf/util/probe-event.c 		if (!tev->event)
tev              3104 tools/perf/util/probe-event.c 	tev->nargs = pev->nargs;
tev              3105 tools/perf/util/probe-event.c 	tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs);
tev              3106 tools/perf/util/probe-event.c 	if (!tev->args)
tev              3109 tools/perf/util/probe-event.c 	for (i = 0; i < tev->nargs; i++)
tev              3110 tools/perf/util/probe-event.c 		copy_to_probe_trace_arg(&tev->args[i], &pev->args[i]);
tev              3261 tools/perf/util/probe-event.c 	struct probe_trace_event *tev;
tev              3291 tools/perf/util/probe-event.c 	*tevs = zalloc(ret * sizeof(*tev));
tev              3299 tools/perf/util/probe-event.c 		tev = &(*tevs)[i++];
tev              3300 tools/perf/util/probe-event.c 		ret = parse_probe_trace_command(node->s, tev);
tev              3304 tools/perf/util/probe-event.c 		tev->uprobes = pev->uprobes;
tev              3369 tools/perf/util/probe-event.c static int show_probe_trace_event(struct probe_trace_event *tev)
tev              3371 tools/perf/util/probe-event.c 	char *buf = synthesize_probe_trace_command(tev);
tev              3388 tools/perf/util/probe-event.c 	struct probe_trace_event *tev;
tev              3398 tools/perf/util/probe-event.c 			tev = &pev->tevs[i];
tev              3400 tools/perf/util/probe-event.c 			if (!tev->point.symbol && !pev->uprobes)
tev              3404 tools/perf/util/probe-event.c 			ret = probe_trace_event__set_name(tev, pev,
tev              3407 tools/perf/util/probe-event.c 				ret = show_probe_trace_event(tev);
tev               130 tools/perf/util/probe-event.h int parse_probe_trace_command(const char *cmd, struct probe_trace_event *tev);
tev               134 tools/perf/util/probe-event.h char *synthesize_probe_trace_command(struct probe_trace_event *tev);
tev               148 tools/perf/util/probe-event.h void clear_probe_trace_event(struct probe_trace_event *tev);
tev               180 tools/perf/util/probe-event.h 			     struct probe_trace_event *tev, struct map *map,
tev               189 tools/perf/util/probe-file.c 	struct probe_trace_event tev;
tev               192 tools/perf/util/probe-file.c 	memset(&tev, 0, sizeof(tev));
tev               198 tools/perf/util/probe-file.c 		ret = parse_probe_trace_command(ent->s, &tev);
tev               202 tools/perf/util/probe-file.c 			ret = e_snprintf(buf, 128, "%s:%s", tev.group,
tev               203 tools/perf/util/probe-file.c 					tev.event);
tev               207 tools/perf/util/probe-file.c 			ret = strlist__add(sl, tev.event);
tev               208 tools/perf/util/probe-file.c 		clear_probe_trace_event(&tev);
tev               230 tools/perf/util/probe-file.c int probe_file__add_event(int fd, struct probe_trace_event *tev)
tev               233 tools/perf/util/probe-file.c 	char *buf = synthesize_probe_trace_command(tev);
tev               387 tools/perf/util/probe-file.c 	struct probe_trace_event *tev;
tev               395 tools/perf/util/probe-file.c 	*tevs = zalloc(ret * sizeof(*tev));
tev               401 tools/perf/util/probe-file.c 		tev = &(*tevs)[i++];
tev               402 tools/perf/util/probe-file.c 		ret = parse_probe_trace_command(node->s, tev);
tev                45 tools/perf/util/probe-file.h int probe_file__add_event(int fd, struct probe_trace_event *tev);
tev              1273 tools/perf/util/probe-finder.c 	struct probe_trace_event *tev;
tev              1291 tools/perf/util/probe-finder.c 	tev = &tf->tevs[tf->ntevs++];
tev              1295 tools/perf/util/probe-finder.c 				     pp->retprobe, pp->function, &tev->point);
tev              1299 tools/perf/util/probe-finder.c 	tev->point.realname = strdup(dwarf_diename(sc_die));
tev              1300 tools/perf/util/probe-finder.c 	if (!tev->point.realname) {
tev              1305 tools/perf/util/probe-finder.c 	pr_debug("Probe point found: %s+%lu\n", tev->point.symbol,
tev              1306 tools/perf/util/probe-finder.c 		 tev->point.offset);
tev              1319 tools/perf/util/probe-finder.c 	tev->nargs = ret;
tev              1320 tools/perf/util/probe-finder.c 	tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs);
tev              1321 tools/perf/util/probe-finder.c 	if (tev->args == NULL) {
tev              1327 tools/perf/util/probe-finder.c 	for (i = 0; i < tev->nargs; i++) {
tev              1329 tools/perf/util/probe-finder.c 		pf->tvar = &tev->args[i];
tev              1338 tools/perf/util/probe-finder.c 		clear_probe_trace_event(tev);