Lines Matching refs:pevs
1200 int show_available_vars(struct perf_probe_event *pevs, int npevs, in show_available_vars() argument
1206 ret = init_probe_symbol_maps(pevs->uprobes); in show_available_vars()
1210 dinfo = open_debuginfo(pevs->target, pevs->nsi, false); in show_available_vars()
1219 ret = show_available_vars_at(dinfo, &pevs[i], _filter); in show_available_vars()
1261 int show_available_vars(struct perf_probe_event *pevs __maybe_unused, in show_available_vars()
3504 int convert_perf_probe_events(struct perf_probe_event *pevs, int npevs) in convert_perf_probe_events() argument
3511 if (!pevs[i].uprobes) in convert_perf_probe_events()
3514 ret = convert_to_probe_trace_events(&pevs[i], &pevs[i].tevs); in convert_perf_probe_events()
3517 pevs[i].ntevs = ret; in convert_perf_probe_events()
3541 int show_probe_trace_events(struct perf_probe_event *pevs, int npevs) in show_probe_trace_events() argument
3552 pev = &pevs[j]; in show_probe_trace_events()
3596 int show_bootconfig_events(struct perf_probe_event *pevs, int npevs) in show_bootconfig_events() argument
3608 pev = &pevs[j]; in show_bootconfig_events()
3643 int apply_perf_probe_events(struct perf_probe_event *pevs, int npevs) in apply_perf_probe_events() argument
3649 ret = __add_probe_trace_events(&pevs[i], pevs[i].tevs, in apply_perf_probe_events()
3650 pevs[i].ntevs, in apply_perf_probe_events()
3658 void cleanup_perf_probe_events(struct perf_probe_event *pevs, int npevs) in cleanup_perf_probe_events() argument
3665 pev = &pevs[i]; in cleanup_perf_probe_events()
3666 for (j = 0; j < pevs[i].ntevs; j++) in cleanup_perf_probe_events()
3667 clear_probe_trace_event(&pevs[i].tevs[j]); in cleanup_perf_probe_events()
3668 zfree(&pevs[i].tevs); in cleanup_perf_probe_events()
3669 pevs[i].ntevs = 0; in cleanup_perf_probe_events()
3671 clear_perf_probe_event(&pevs[i]); in cleanup_perf_probe_events()
3675 int add_perf_probe_events(struct perf_probe_event *pevs, int npevs) in add_perf_probe_events() argument
3679 ret = init_probe_symbol_maps(pevs->uprobes); in add_perf_probe_events()
3683 ret = convert_perf_probe_events(pevs, npevs); in add_perf_probe_events()
3685 ret = apply_perf_probe_events(pevs, npevs); in add_perf_probe_events()
3687 cleanup_perf_probe_events(pevs, npevs); in add_perf_probe_events()