Home
last modified time | relevance | path

Searched refs:bpf_counter_ops (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dbpf_counter.c295 struct bpf_counter_ops bpf_program_profiler_ops = {
756 struct bpf_counter_ops bperf_ops = {
765 extern struct bpf_counter_ops bperf_cgrp_ops;
769 return evsel->bpf_counter_ops == NULL; in bpf_counter_skip()
776 return evsel->bpf_counter_ops->install_pe(evsel, cpu_map_idx, fd); in bpf_counter__install_pe()
782 evsel->bpf_counter_ops = &bpf_program_profiler_ops; in bpf_counter__load()
784 evsel->bpf_counter_ops = &bperf_cgrp_ops; in bpf_counter__load()
787 evsel->bpf_counter_ops = &bperf_ops; in bpf_counter__load()
789 if (evsel->bpf_counter_ops) in bpf_counter__load()
790 return evsel->bpf_counter_ops->load(evsel, target); in bpf_counter__load()
[all …]
Devsel.h20 struct bpf_counter_ops;
170 struct bpf_counter_ops *bpf_counter_ops; member
299 return evsel->bpf_counter_ops != NULL; in evsel__is_bpf()
304 return evsel->bpf_counter_ops != NULL && list_empty(&evsel->bpf_counter_list); in evsel__is_bperf()
Dbpf_counter.h25 struct bpf_counter_ops { struct
Dbpf_counter_cgroup.c287 struct bpf_counter_ops bperf_cgrp_ops = {