| /tools/lib/bpf/ |
| D | btf.c | 25 struct btf { struct 30 struct btf_type **types; argument 44 static int btf_add_type(struct btf *btf, struct btf_type *t) in btf_add_type() 72 static int btf_parse_hdr(struct btf *btf) in btf_parse_hdr() 128 static int btf_parse_str_sec(struct btf *btf) in btf_parse_str_sec() 180 static int btf_parse_type_sec(struct btf *btf) in btf_parse_type_sec() 204 __u32 btf__get_nr_types(const struct btf *btf) in btf__get_nr_types() 209 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id() 229 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size() 281 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type() [all …]
|
| D | btf_dump.c | 56 const struct btf *btf; member 119 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new() 755 static int btf_align_of(const struct btf *btf, __u32 id) in btf_align_of() 790 static bool btf_is_struct_packed(const struct btf *btf, __u32 id, in btf_is_struct_packed()
|
| D | libbpf.c | 286 struct btf *btf; member 1019 skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id) in skip_mods_and_typedefs() 1042 static bool get_map_field_int(const char *map_name, const struct btf *btf, in get_map_field_int() 1366 struct btf *btf = obj->btf; in bpf_object__sanitize_btf() local 2315 const struct btf *btf; member 2364 static int bpf_core_spec_parse(const struct btf *btf, in bpf_core_spec_parse() 2824 struct btf *btf; in btf_load_raw() local 2880 struct btf *btf; in bpf_core_find_kernel_btf() local
|
| D | bpf.c | 659 int bpf_load_btf(void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf()
|
| /tools/perf/util/ |
| D | bpf-event.c | 95 struct btf *btf) in perf_env__fetch_btf() 117 struct btf *btf, in synthesize_bpf_prog_name() 170 struct btf *btf = NULL; in perf_event__synthesize_one_bpf_prog() local 348 struct btf *btf = NULL; in perf_env__add_bpf_info() local 449 struct btf *btf = NULL; in bpf_event__print_bpf_prog_info() local
|
| D | annotate.c | 1725 struct btf *btf = NULL; in symbol__disassemble_bpf() local
|
| /tools/testing/selftests/bpf/ |
| D | test_btf_dump.c | 36 static int btf_dump_all_types(const struct btf *btf, in btf_dump_all_types() 61 struct btf *btf = NULL; in test_btf_dump_case() local
|
| D | test_btf.c | 4125 struct btf *btf = NULL; in do_test_file() local
|
| /tools/bpf/bpftool/ |
| D | btf.c | 77 static const char *btf_str(const struct btf *btf, __u32 off) in btf_str() 84 static int dump_btf_type(const struct btf *btf, __u32 id, in dump_btf_type() 321 static int dump_btf_raw(const struct btf *btf, in dump_btf_raw() 360 static int dump_btf_c(const struct btf *btf, in dump_btf_c() 393 struct btf *btf = NULL; in do_dump() local
|
| D | btf_dumper.c | 421 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id, in __btf_dumper_type_only() 510 static int btf_dump_func(const struct btf *btf, char *func_sig, in btf_dump_func() 540 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig, in btf_dumper_type_only() 562 void btf_dump_linfo_plain(const struct btf *btf, in btf_dump_linfo_plain() 594 void btf_dump_linfo_json(const struct btf *btf, in btf_dump_linfo_json()
|
| D | main.h | 177 const struct btf *btf, in disasm_print_insn() 199 const struct btf *btf; member
|
| D | xlated_dumper.h | 22 struct btf *btf; member
|
| D | map.c | 208 unsigned char *value, struct btf *btf) in print_entry_json() 710 struct bpf_map_info *map_info, struct btf *btf, in dump_map_elem() 775 struct btf *btf = NULL; in do_dump() local 923 struct btf *btf = NULL; in print_key_value() local
|
| D | xlated_dumper.c | 217 struct btf *btf = dd->btf; in dump_xlated_json() local 302 struct btf *btf = dd->btf; in dump_xlated_plain() local
|
| D | jit_disasm.c | 77 const struct btf *btf, in disasm_print_insn()
|
| D | prog.c | 420 struct btf *btf = NULL; in do_dump() local
|
| /tools/include/uapi/linux/ |
| D | bpf.h | 491 __aligned_u64 btf; member 3275 __aligned_u64 btf; member
|