Home
last modified time | relevance | path

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

/external/libbpf/android/
Dbpf_stub.c15 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() function
/external/libbpf/src/
Dlibbpf.c3030 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization()
3031 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization()
3032 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in btf_needs_sanitization()
3033 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization()
3034 bool has_decl_tag = kernel_supports(obj, FEAT_BTF_DECL_TAG); in btf_needs_sanitization()
3035 bool has_type_tag = kernel_supports(obj, FEAT_BTF_TYPE_TAG); in btf_needs_sanitization()
3036 bool has_enum64 = kernel_supports(obj, FEAT_BTF_ENUM64); in btf_needs_sanitization()
3037 bool has_qmark_datasec = kernel_supports(obj, FEAT_BTF_QMARK_DATASEC); in btf_needs_sanitization()
3045 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf()
3046 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf()
[all …]
Dlibbpf_internal.h394 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
Dusdt.c280 man->has_bpf_cookie = kernel_supports(obj, FEAT_BPF_COOKIE); in usdt_manager_new()
292 man->has_uprobe_multi = kernel_supports(obj, FEAT_UPROBE_MULTI_LINK); in usdt_manager_new()