Searched refs:kernel_supports (Results 1 - 4 of 4) sorted by relevance
/third_party/libbpf/src/ |
H A D | libbpf.c | 2806 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); 2807 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); 2808 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); 2809 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); 2810 bool has_decl_tag = kernel_supports(obj, FEAT_BTF_DECL_TAG); 2811 bool has_type_tag = kernel_supports(obj, FEAT_BTF_TYPE_TAG); 2812 bool has_enum64 = kernel_supports(obj, FEAT_BTF_ENUM64); 2820 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); 2821 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); 2822 bool has_float = kernel_supports(ob 5376 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) global() function [all...] |
H A D | libbpf_internal.h | 409 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
|
H A D | usdt.c | 280 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()
|
H A D | bpf.c | 149 if (memlock_bumped || kernel_supports(NULL, FEAT_MEMCG_ACCOUNT)) in bump_rlimit_memlock() 184 if (map_name && kernel_supports(NULL, FEAT_PROG_NAME)) in bpf_map_create() 265 if (prog_name && kernel_supports(NULL, FEAT_PROG_NAME)) in bpf_prog_load()
|
Completed in 15 milliseconds