Hi, This email is in the form of an inquiry and not a bug report. When I tried to build bpftool 6.8.0 on my Debian 11 (bullseye) machine it failed with errors like: -----------------------------------8<----------------------------------- $ make . . . CLANG pid_iter.bpf.o skeleton/pid_iter.bpf.c:47:14: error: incomplete definition of type 'struct bpf_perf_link' perf_link = container_of(link, struct bpf_perf_link, link); . . . skeleton/pid_iter.bpf.c:49:30: error: no member named 'bpf_cookie' in 'struct perf_event' return BPF_CORE_READ(event, bpf_cookie); . . . 10 errors generated. make: *** [Makefile:176: pid_iter.bpf.o] Error 1 ----------------------------------->8----------------------------------- This happens because in the generated vmlinux.h from my 5.10 kernel there is no relevant types regarding the bpf_cookies. Release v6.7.0 builds fine because it doesn't have this commit [1]. That leaves me with the following questions: - Should I stick to v6.7.0? - Maybe I could use a version of 6.8.0 that reverts the commit [1]? - Should the newly added bpf cookie section be guarded somehow? [1] bpftool: Add bpf_cookie to link output https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=cbdaf71f Cheers, Shahab