Lines Matching refs:pevs
1183 int show_available_vars(struct perf_probe_event *pevs, int npevs, in show_available_vars() argument
1189 ret = init_probe_symbol_maps(pevs->uprobes); in show_available_vars()
1193 dinfo = open_debuginfo(pevs->target, pevs->nsi, false); in show_available_vars()
1202 ret = show_available_vars_at(dinfo, &pevs[i], _filter); in show_available_vars()
1244 int show_available_vars(struct perf_probe_event *pevs __maybe_unused, in show_available_vars()
3449 int convert_perf_probe_events(struct perf_probe_event *pevs, int npevs) in convert_perf_probe_events() argument
3456 if (!pevs[i].uprobes) in convert_perf_probe_events()
3459 ret = convert_to_probe_trace_events(&pevs[i], &pevs[i].tevs); in convert_perf_probe_events()
3462 pevs[i].ntevs = ret; in convert_perf_probe_events()
3486 int show_probe_trace_events(struct perf_probe_event *pevs, int npevs) in show_probe_trace_events() argument
3497 pev = &pevs[j]; in show_probe_trace_events()
3516 int apply_perf_probe_events(struct perf_probe_event *pevs, int npevs) in apply_perf_probe_events() argument
3522 ret = __add_probe_trace_events(&pevs[i], pevs[i].tevs, in apply_perf_probe_events()
3523 pevs[i].ntevs, in apply_perf_probe_events()
3531 void cleanup_perf_probe_events(struct perf_probe_event *pevs, int npevs) in cleanup_perf_probe_events() argument
3538 pev = &pevs[i]; in cleanup_perf_probe_events()
3539 for (j = 0; j < pevs[i].ntevs; j++) in cleanup_perf_probe_events()
3540 clear_probe_trace_event(&pevs[i].tevs[j]); in cleanup_perf_probe_events()
3541 zfree(&pevs[i].tevs); in cleanup_perf_probe_events()
3542 pevs[i].ntevs = 0; in cleanup_perf_probe_events()
3544 clear_perf_probe_event(&pevs[i]); in cleanup_perf_probe_events()
3548 int add_perf_probe_events(struct perf_probe_event *pevs, int npevs) in add_perf_probe_events() argument
3552 ret = init_probe_symbol_maps(pevs->uprobes); in add_perf_probe_events()
3556 ret = convert_perf_probe_events(pevs, npevs); in add_perf_probe_events()
3558 ret = apply_perf_probe_events(pevs, npevs); in add_perf_probe_events()
3560 cleanup_perf_probe_events(pevs, npevs); in add_perf_probe_events()