Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dlibbpf.c182 static bool kernel_supports(enum kern_feature_id feat_id);
2366 bool has_func_global = kernel_supports(FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization()
2367 bool has_datasec = kernel_supports(FEAT_BTF_DATASEC); in btf_needs_sanitization()
2368 bool has_func = kernel_supports(FEAT_BTF_FUNC); in btf_needs_sanitization()
2375 bool has_func_global = kernel_supports(FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf()
2376 bool has_datasec = kernel_supports(FEAT_BTF_DATASEC); in bpf_object__sanitize_btf()
2377 bool has_func = kernel_supports(FEAT_BTF_FUNC); in bpf_object__sanitize_btf()
2570 if (!kernel_supports(FEAT_BTF)) { in bpf_object__sanitize_and_load_btf()
4009 static bool kernel_supports(enum kern_feature_id feat_id) in kernel_supports() function
4128 if (kernel_supports(FEAT_PROG_NAME)) in bpf_object__create_map()
[all …]