needs_kver 3597 tools/lib/bpf/libbpf.c static int bpf_object__validate(struct bpf_object *obj, bool needs_kver) needs_kver 3599 tools/lib/bpf/libbpf.c if (needs_kver && obj->kern_version == 0) { needs_kver 3609 tools/lib/bpf/libbpf.c bool needs_kver, int flags) needs_kver 3628 tools/lib/bpf/libbpf.c CHECK_ERR(bpf_object__validate(obj, needs_kver), err, out);