Lines Matching refs:bpf_counter_ops
292 struct bpf_counter_ops bpf_program_profiler_ops = {
753 struct bpf_counter_ops bperf_ops = {
762 extern struct bpf_counter_ops bperf_cgrp_ops;
766 return evsel->bpf_counter_ops == NULL; in bpf_counter_skip()
773 return evsel->bpf_counter_ops->install_pe(evsel, cpu_map_idx, fd); in bpf_counter__install_pe()
779 evsel->bpf_counter_ops = &bpf_program_profiler_ops; in bpf_counter__load()
781 evsel->bpf_counter_ops = &bperf_cgrp_ops; in bpf_counter__load()
784 evsel->bpf_counter_ops = &bperf_ops; in bpf_counter__load()
786 if (evsel->bpf_counter_ops) in bpf_counter__load()
787 return evsel->bpf_counter_ops->load(evsel, target); in bpf_counter__load()
795 return evsel->bpf_counter_ops->enable(evsel); in bpf_counter__enable()
802 return evsel->bpf_counter_ops->disable(evsel); in bpf_counter__disable()
809 return evsel->bpf_counter_ops->read(evsel); in bpf_counter__read()
816 evsel->bpf_counter_ops->destroy(evsel); in bpf_counter__destroy()
817 evsel->bpf_counter_ops = NULL; in bpf_counter__destroy()