Home
last modified time | relevance | path

Searched refs:reading_map_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dbpf_counter.c234 int reading_map_fd; in bpf_program_profiler__read() local
251 reading_map_fd = bpf_map__fd(skel->maps.accum_readings); in bpf_program_profiler__read()
253 err = bpf_map_lookup_elem(reading_map_fd, &key, values); in bpf_program_profiler__read()
616 int reading_map_fd, err = 0; in bperf__read() local
621 reading_map_fd = bpf_map__fd(skel->maps.accum_readings); in bperf__read()
627 err = bpf_map_lookup_elem(reading_map_fd, &i, values); in bperf__read()
H A Dbpf_counter_cgroup.c239 int reading_map_fd, err = 0; in bperf_cgrp__read() local
250 reading_map_fd = bpf_map__fd(skel->maps.cgrp_readings); in bperf_cgrp__read()
257 err = bpf_map_lookup_elem(reading_map_fd, &idx, values); in bperf_cgrp__read()
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c2101 int reading_map_fd, count_map_fd; in profile_read_values() local
2106 reading_map_fd = bpf_map__fd(obj->maps.accum_readings); in profile_read_values()
2108 if (reading_map_fd < 0 || count_map_fd < 0) { in profile_read_values()
2129 err = bpf_map_lookup_elem(reading_map_fd, &key, values); in profile_read_values()