Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dbpf_counter.c287 struct bpf_counter_ops bpf_program_profiler_ops = {
743 struct bpf_counter_ops bperf_ops = {
752 extern struct bpf_counter_ops bperf_cgrp_ops;
772 evsel->bpf_counter_ops = &bperf_cgrp_ops; in bpf_counter__load()
775 evsel->bpf_counter_ops = &bperf_ops; in bpf_counter__load()
777 if (evsel->bpf_counter_ops) in bpf_counter__load()
786 return evsel->bpf_counter_ops->enable(evsel); in bpf_counter__enable()
793 return evsel->bpf_counter_ops->disable(evsel); in bpf_counter__disable()
800 return evsel->bpf_counter_ops->read(evsel); in bpf_counter__read()
807 evsel->bpf_counter_ops->destroy(evsel); in bpf_counter__destroy()
[all …]
A Devsel.h20 struct bpf_counter_ops;
143 struct bpf_counter_ops *bpf_counter_ops; member
254 return evsel->bpf_counter_ops != NULL; in evsel__is_bpf()
A Dbpf_counter.h22 struct bpf_counter_ops { struct
A Dbpf_counter_cgroup.c300 struct bpf_counter_ops bperf_cgrp_ops = {

Completed in 9 milliseconds