Home
last modified time | relevance | path

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

/Linux-v5.15/tools/lib/bpf/
Dlibbpf.c201 static bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
2485 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization()
2486 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization()
2487 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in btf_needs_sanitization()
2488 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization()
2495 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf()
2496 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf()
2497 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in bpf_object__sanitize_btf()
2498 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in bpf_object__sanitize_btf()
2704 if (!kernel_supports(obj, FEAT_BTF)) { in bpf_object__sanitize_and_load_btf()
[all …]