/aosp_15_r20/external/libbpf/src/ |
H A D | btf.c | 31 struct btf { struct 33 void *raw_data; 35 void *raw_data_swapped; 36 __u32 raw_size; 60 * and cached again if user calls btf__raw_data(), at which point argument 77 struct btf_header *hdr; argument 97 struct btf *base_btf; argument 102 int start_id; 107 int start_str_off; 113 void *strs_data; [all …]
|
H A D | relo_core.c | 22 skip_mods_and_typedefs(const struct btf *btf, u32 id, u32 *res_id) in skip_mods_and_typedefs() 27 static const char *btf__name_by_offset(const struct btf *btf, u32 offset) in btf__name_by_offset() 32 static s64 btf__resolve_size(const struct btf *btf, u32 type_id) in btf__resolve_size() 71 static bool is_flex_arr(const struct btf *btf, in is_flex_arr() 263 int bpf_core_parse_spec(const char *prog_name, const struct btf *btf, in bpf_core_parse_spec()
|
H A D | libbpf.c | 604 struct btf *btf; member 673 struct btf *btf; member 934 find_member_by_name(const struct btf *btf, const struct btf_type *t, in find_member_by_name() 965 struct btf *btf; in find_struct_ops_kern_types() local 1089 const struct btf *btf = obj->btf; in bpf_map__init_kern_struct_ops() local 1313 const struct btf *btf; in init_struct_ops_maps() local 2297 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id) in skip_mods_and_typedefs() 2314 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) in resolve_func_ptr() 2366 static bool get_map_field_int(const char *map_name, const struct btf *btf, in get_map_field_int() 2396 static bool get_map_field_long(const char *map_name, const struct btf *btf, in get_map_field_long() [all …]
|
H A D | relo_core.h | 10 const struct btf *btf; member 30 const struct btf *btf; member
|
H A D | linker.c | 58 struct btf *btf; member 147 struct btf *btf; member 936 struct btf *btf = ctx; in check_btf_type_id() local 946 struct btf *btf = ctx; in check_btf_str_off() local 2679 struct btf *btf = linker->btf; in finalize_btf() local
|
H A D | btf_dump.c | 80 const struct btf *btf; member 148 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new() 833 static bool btf_is_struct_packed(const struct btf *btf, __u32 id, in btf_is_struct_packed() 1849 static bool ptr_is_aligned(const struct btf *btf, __u32 type_id, in ptr_is_aligned()
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dump.c | 26 static int btf_dump_all_types(const struct btf *btf, void *ctx) in btf_dump_all_types() 51 struct btf *btf = NULL; in test_btf_dump_case() local 135 struct btf *btf = NULL; in test_btf_dump_incremental() local 269 static int btf_dump_data(struct btf *btf, struct btf_dump *d, in btf_dump_data() 350 static void test_btf_dump_int_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_int_data() 408 static void test_btf_dump_float_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_float_data() 453 static void test_btf_dump_char_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_char_data() 475 static void test_btf_dump_typedef_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_typedef_data() 530 static void test_btf_dump_enum_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_enum_data() 566 static void test_btf_dump_struct_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_struct_data() [all …]
|
H A D | libbpf_str.c | 23 struct btf *btf; in test_libbpf_bpf_attach_type_str() local 68 struct btf *btf; in test_libbpf_bpf_link_type_str() local 113 struct btf *btf; in test_libbpf_bpf_map_type_str() local 155 struct btf *btf; in test_libbpf_bpf_prog_type_str() local
|
H A D | btf_write.c | 7 static void gen_btf(struct btf *btf) in gen_btf() 357 struct btf *btf; in test_btf_add() local
|
H A D | libbpf_probes.c | 9 struct btf *btf; in test_libbpf_probe_prog_types() local 47 struct btf *btf; in test_libbpf_probe_map_types() local
|
H A D | fexit_bpf2bpf.c | 67 struct btf *btf; in test_fexit_bpf2bpf_common() local 415 struct btf *btf; in find_prog_btf_id() local
|
/aosp_15_r20/external/bpftool/src/ |
H A D | gen.c | 59 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) in resolve_func_ptr() 148 struct btf *btf, in codegen_datasec_def() 235 static const struct btf_type *find_type_for_map(struct btf *btf, const char *map_ident) in find_type_for_map() 277 struct btf *btf = bpf_object__btf(obj); in codegen_datasecs() local 318 static bool btf_is_ptr_to_func_proto(const struct btf *btf, in btf_is_ptr_to_func_proto() 326 struct btf *btf = bpf_object__btf(obj); in codegen_subskel_datasecs() local 499 struct btf *btf = bpf_object__btf(obj); in codegen_asserts() local 939 static int walk_st_ops_shadow_vars(struct btf *btf, const char *ident, in walk_st_ops_shadow_vars() 1054 static int gen_st_ops_shadow_type(const char *obj_name, struct btf *btf, const char *ident, in gen_st_ops_shadow_type() 1082 static int gen_st_ops_shadow(const char *obj_name, struct btf *btf, struct bpf_object *obj) in gen_st_ops_shadow() [all …]
|
H A D | btf_dumper.c | 211 static bool is_str_array(const struct btf *btf, const struct btf_array *arr, in is_str_array() 619 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id, in __btf_dumper_type_only() 710 static int btf_dump_func(const struct btf *btf, char *func_sig, in btf_dump_func() 747 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig, in btf_dumper_type_only() 769 void btf_dump_linfo_plain(const struct btf *btf, in btf_dump_linfo_plain() 801 void btf_dump_linfo_json(const struct btf *btf, in btf_dump_linfo_json() 874 void btf_dump_linfo_dotlabel(const struct btf *btf, in btf_dump_linfo_dotlabel()
|
H A D | btf.c | 90 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() 102 static int dump_btf_type(const struct btf *btf, __u32 id, in dump_btf_type() 418 static int dump_btf_raw(const struct btf *btf, in dump_btf_raw() 463 static int dump_btf_c(const struct btf *btf, in dump_btf_c() 552 struct btf *btf = NULL, *base = NULL; in do_dump() local
|
H A D | map.c | 133 unsigned char *value, struct btf *btf) in print_entry_json() 743 struct bpf_map_info *map_info, struct btf *btf, in dump_map_elem() 790 static int get_map_kv_btf(const struct bpf_map_info *info, struct btf **btf) in get_map_kv_btf() 816 static void free_map_kv_btf(struct btf *btf) in free_map_kv_btf() 828 struct btf *btf = NULL; in map_dump() local 1035 struct btf *btf; in print_key_value() local
|
H A D | xlated_dumper.c | 230 struct btf *btf = dd->btf; in dump_xlated_json() local 315 struct btf *btf = dd->btf; in dump_xlated_plain() local 383 struct btf *btf = dd->btf; in dump_xlated_for_graph() local
|
H A D | main.h | 187 const struct btf *btf, in disasm_print_insn() 209 const struct btf *btf; member
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/ |
H A D | btf_helpers.c | 81 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() 88 int fprintf_btf_type_raw(FILE *out, const struct btf *btf, __u32 id) in fprintf_btf_type_raw() 216 const char *btf_type_raw_dump(const struct btf *btf, int type_id) in btf_type_raw_dump() 234 int btf_validate_raw(struct btf *btf, int nr_types, const char *exp_types[]) in btf_validate_raw() 257 const char *btf_type_c_dump(const struct btf *btf) in btf_type_c_dump()
|
H A D | btf_helpers.h | 13 #define VALIDATE_RAW_BTF(btf, raw_types...) \ argument
|
/aosp_15_r20/external/bcc/libbpf-tools/ |
H A D | ksnoop.c | 97 static void type_to_value(struct btf *btf, char *name, __u32 type_id, in type_to_value() 135 static int member_to_value(struct btf *btf, const char *name, __u32 type_id, in member_to_value() 212 static int get_func_btf(struct btf *btf, struct func *func) in get_func_btf() 306 static int trace_to_value(struct btf *btf, struct func *func, char *argname, in trace_to_value() 375 static char *type_id_to_str(struct btf *btf, __s32 type_id, char *str) in type_id_to_str() 441 static char *value_to_str(struct btf *btf, struct value *val, char *str) in value_to_str()
|
/aosp_15_r20/out/soong/.intermediates/external/rust/android-crates-io/crates/libbpf-sys/liblibbpf_sys/android_arm64_armv8-2a_cortex-a55_dylib/out/ |
D | bindgen.rs | 994 pub btf: __u64, field 1961 pub btf: __u64, field 3043 pub struct btf { struct 3052 pub fn libbpf_find_kernel_btf() -> *mut btf; in libbpf_find_kernel_btf() argument 3064 pub fn btf__get_raw_data(btf: *const btf, size: *mut __u32) -> *const ::std::os::raw::c_void; in btf__get_raw_data() argument 3953 pub fn btf__free(btf: *mut btf); in btf__free() argument 3956 pub fn btf__new(data: *const ::std::os::raw::c_void, size: __u32) -> *mut btf; in btf__new() 3962 base_btf: *mut btf, in btf__new_split() 3963 ) -> *mut btf; in btf__new_split() 3969 pub fn btf__new_empty_split(base_btf: *mut btf) -> *mut btf; in btf__new_empty_split() [all …]
|
/aosp_15_r20/out/soong/.intermediates/external/rust/android-crates-io/crates/libbpf-sys/liblibbpf_bindgen/android_arm64_armv8-2a_cortex-a55_source/ |
D | bindgen.rs | 994 pub btf: __u64, field 1961 pub btf: __u64, field 3043 pub struct btf { struct 3052 pub fn libbpf_find_kernel_btf() -> *mut btf; in libbpf_find_kernel_btf() argument 3064 pub fn btf__get_raw_data(btf: *const btf, size: *mut __u32) -> *const ::std::os::raw::c_void; in btf__get_raw_data() argument 3953 pub fn btf__free(btf: *mut btf); in btf__free() argument 3956 pub fn btf__new(data: *const ::std::os::raw::c_void, size: __u32) -> *mut btf; in btf__new() 3962 base_btf: *mut btf, in btf__new_split() 3963 ) -> *mut btf; in btf__new_split() 3969 pub fn btf__new_empty_split(base_btf: *mut btf) -> *mut btf; in btf__new_empty_split() [all …]
|
/aosp_15_r20/external/bcc/src/cc/ |
H A D | bcc_btf.cc | 282 static int btf_ext_reloc_info(const struct btf *btf, in btf_ext_reloc_info() 329 int btf_ext__reloc_func_info(const struct btf *btf, in btf_ext__reloc_func_info() 338 int btf_ext__reloc_line_info(const struct btf *btf, in btf_ext__reloc_line_info() 581 struct btf *btf; in load() local
|
/aosp_15_r20/external/rust/android-crates-io/crates/libbpf-sys/src/ |
D | bindings.rs | 2666 pub btf: __u64, field 3633 pub btf: __u64, field 4713 pub struct btf { struct 4722 pub fn libbpf_find_kernel_btf() -> *mut btf; in libbpf_find_kernel_btf() argument 4734 pub fn btf__get_raw_data(btf: *const btf, size: *mut __u32) -> *const ::std::os::raw::c_void; in btf__get_raw_data() argument 5624 pub fn btf__free(btf: *mut btf); in btf__free() argument 5627 pub fn btf__new(data: *const ::std::os::raw::c_void, size: __u32) -> *mut btf; in btf__new() 5633 base_btf: *mut btf, in btf__new_split() 5634 ) -> *mut btf; in btf__new_split() 5640 pub fn btf__new_empty_split(base_btf: *mut btf) -> *mut btf; in btf__new_empty_split() [all …]
|
/aosp_15_r20/out/soong/.intermediates/external/libbpf/libbpf_headers/gen/bpf/ |
D | relo_core.h | 10 const struct btf *btf; member 30 const struct btf *btf; member
|