Home
last modified time | relevance | path

Searched defs:btf (Results 1 – 25 of 37) sorted by relevance

12

/external/libbpf/src/
Dbtf.c31 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 …]
Drelo_core.h10 const struct btf *btf; member
30 const struct btf *btf; member
Drelo_core.c22 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()
181 static int bpf_core_parse_spec(const char *prog_name, const struct btf *btf, in bpf_core_parse_spec()
Dbtf.h265 #define ___btf_dedup3(btf, btf_ext, opts) btf__dedup_deprecated(btf, btf_ext, opts) argument
266 #define ___btf_dedup2(btf, opts) btf__dedup(btf, opts) argument
Dlibbpf.c450 struct btf *btf; member
522 struct btf *btf; member
845 find_member_by_name(const struct btf *btf, const struct btf_type *t, in find_member_by_name()
864 find_struct_ops_kern_types(const struct btf *btf, const char *tname, in find_struct_ops_kern_types()
929 const struct btf *btf, in bpf_map__init_kern_struct_ops()
1086 const struct btf *btf; in bpf_object__init_struct_ops_maps() local
2061 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id) in skip_mods_and_typedefs()
2078 resolve_func_ptr(const struct btf *btf, __u32 id, __u32 *res_id) in resolve_func_ptr()
2129 static bool get_map_field_int(const char *map_name, const struct btf *btf, in get_map_field_int()
2176 int parse_btf_map_def(const char *map_name, struct btf *btf, in parse_btf_map_def()
[all …]
Dbtf_dump.c79 const struct btf *btf; member
148 struct btf_dump *btf_dump__new_v0_6_0(const struct btf *btf, in btf_dump__new_v0_6_0()
192 struct btf_dump *btf_dump__new_deprecated(const struct btf *btf, in btf_dump__new_deprecated()
827 static bool btf_is_struct_packed(const struct btf *btf, __u32 id, in btf_is_struct_packed()
1682 static bool ptr_is_aligned(const struct btf *btf, __u32 type_id, in ptr_is_aligned()
Dlinker.c58 struct btf *btf; member
147 struct btf *btf; member
922 struct btf *btf = ctx; in check_btf_type_id() local
932 struct btf *btf = ctx; in check_btf_str_off() local
2658 struct btf *btf = linker->btf; in finalize_btf() local
/external/bpftool/src/
Dbtf_dumper.c185 static bool is_str_array(const struct btf *btf, const struct btf_array *arr, in is_str_array()
591 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id, in __btf_dumper_type_only()
681 static int btf_dump_func(const struct btf *btf, char *func_sig, in btf_dump_func()
718 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig, in btf_dumper_type_only()
740 void btf_dump_linfo_plain(const struct btf *btf, in btf_dump_linfo_plain()
772 void btf_dump_linfo_json(const struct btf *btf, in btf_dump_linfo_json()
Dbtf.c94 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str()
106 static int dump_btf_type(const struct btf *btf, __u32 id, in dump_btf_type()
372 static int dump_btf_raw(const struct btf *btf, in dump_btf_raw()
417 static int dump_btf_c(const struct btf *btf, in dump_btf_c()
464 struct btf *btf = NULL, *base = NULL; in do_dump() local
Dmap.c164 unsigned char *value, struct btf *btf) in print_entry_json()
761 struct bpf_map_info *map_info, struct btf *btf, in dump_map_elem()
810 struct btf *btf = NULL; in get_map_kv_btf() local
833 static void free_map_kv_btf(struct btf *btf) in free_map_kv_btf()
851 struct btf *btf = NULL; in map_dump() local
1055 struct btf *btf; in print_key_value() local
Dmain.h193 const struct btf *btf, in disasm_print_insn()
215 const struct btf *btf; member
Dgen.c124 struct btf *btf, in codegen_datasec_def()
213 struct btf *btf = bpf_object__btf(obj); in codegen_datasecs() local
663 struct btf *btf; in do_skeleton() local
Dxlated_dumper.h22 struct btf *btf; member
Dxlated_dumper.c223 struct btf *btf = dd->btf; in dump_xlated_json() local
308 struct btf *btf = dd->btf; in dump_xlated_plain() local
Djit_disasm.c78 const struct btf *btf, in disasm_print_insn()
Dprog.c327 struct btf *btf; in show_prog_metadata() local
716 struct btf *btf = NULL; in prog_dump() local
2114 struct btf *btf = NULL; in profile_target_name() local
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c26 static int btf_dump_all_types(const struct btf *btf, in btf_dump_all_types()
51 struct btf *btf = NULL; in test_btf_dump_case() local
/external/bcc/libbpf-tools/
Dksnoop.c97 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()
377 static char *type_id_to_str(struct btf *btf, __s32 type_id, char *str) in type_id_to_str()
443 static char *value_to_str(struct btf *btf, struct value *val, char *str) in value_to_str()
Dksnoop.h96 struct btf *btf; member
Dtrace_helpers.c217 struct btf *btf; member
1018 struct btf *base, *btf = NULL; in fentry_can_attach() local
/external/bcc/src/cc/
Dbcc_btf.cc282 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
Dlibbpf.c1397 struct btf *btf; in bpf_has_kernel_btf() local
1413 struct btf *btf; in kernel_struct_has_field() local
Dbpf_module.cc301 BTF *btf = new BTF(flags_ & DEBUG_BTF, sections); in load_btf() local
/external/libbpf/android/
Dbtfloader.cpp58 struct btf *btf = bpf_object__btf(obj); in main() local
/external/ltp/include/lapi/
Dbpf.h296 aligned_uint64_t btf; member

12