Home
last modified time | relevance | path

Searched refs:perf_map (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tcpnotify_user.c73 struct bpf_map *perf_map, *global_map; in main() local
106 perf_map = bpf_object__find_map_by_name(obj, "perf_event_map"); in main()
107 if (!perf_map) { in main()
118 pb = perf_buffer__new(bpf_map__fd(perf_map), 8, dummyfn, NULL, NULL, NULL); in main()
/openbmc/linux/samples/bpf/
H A Dtest_current_task_under_cgroup.bpf.c26 } perf_map SEC(".maps");
38 bpf_map_update_elem(&perf_map, &idx, &pid, BPF_ANY); in BPF_KSYSCALL()