| /linux/tools/lib/bpf/ |
| H A D | btf_dump.c | 80 struct btf_dump { struct 132 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 137 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() 146 static int btf_dump_mark_referenced(struct btf_dump *d); 147 static int btf_dump_resize(struct btf_dump *d); 149 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new() 154 struct btf_dump *d; in btf_dump__new() 163 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 195 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize() 238 void btf_dump__free(struct btf_dump * 82 printf_fnbtf_dump global() argument 90 type_statesbtf_dump global() argument 91 type_states_capbtf_dump global() argument 93 cached_namesbtf_dump global() argument 94 cached_names_capbtf_dump global() argument 119 typed_dumpbtf_dump global() argument [all...] |
| H A D | btf.h | 326 struct btf_dump; 335 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf, 340 LIBBPF_API void btf_dump__free(struct btf_dump *d); 342 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id); 366 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id, 385 btf_dump__dump_type_data(struct btf_dump *d, __u32 id,
|
| H A D | Build | 3 btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 17 {"btf_dump: syntax", "btf_dump_test_case_syntax", true}, 18 {"btf_dump: ordering", "btf_dump_test_case_ordering", false}, 19 {"btf_dump: padding", "btf_dump_test_case_padding", true}, 20 {"btf_dump: packing", "btf_dump_test_case_packing", true}, 21 {"btf_dump: bitfields", "btf_dump_test_case_bitfields", true}, 22 {"btf_dump: multidim", "btf_dump_test_case_multidim", false}, 23 {"btf_dump: namespacing", "btf_dump_test_case_namespacing", false}, 29 struct btf_dump *d; in btf_dump_all_types() 92 if (CHECK(err, "btf_dump", "failure during C dumping: %d\n", err)) { in test_btf_dump_case() 131 struct btf_dump * [all...] |
| H A D | btf_split.c | 50 struct btf_dump *d = NULL; in __test_btf_split()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 261 struct btf_dump *d = NULL; in btf_type_c_dump()
|
| /linux/tools/bpf/bpftool/ |
| H A D | gen.c | 149 struct btf_dump *d, in codegen_datasec_def() 278 struct btf_dump *d; in codegen_datasecs() 327 struct btf_dump *d; in codegen_subskel_datasecs() 1022 struct btf_dump *d = NULL; in walk_st_ops_shadow_vars()
|
| H A D | btf.c | 512 static int dump_btf_kfuncs(struct btf_dump *d, const struct btf *btf) in dump_btf_kfuncs() 775 struct btf_dump *d; in dump_btf_c()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-trace.txt | 242 Use btf_dump to pretty print syscall argument data, instead of using hand-crafted pretty 243 printers. This option is intended for testing BTF integration in perf trace. btf_dump-based
|
| /linux/tools/perf/ |
| H A D | builtin-trace.c | 1050 struct btf_dump *btf_dump; in btf_struct_scnprintf() local 1061 btf_dump = btf_dump__new(btf, trace__btf_dump_snprintf, &ctx, &dump_opts); in btf_struct_scnprintf() 1062 if (btf_dump == NULL) in btf_struct_scnprintf() 1066 …if (btf_dump__dump_type_data(btf_dump, type_id, arg->augmented.args->value, type->size, &dump_data… in btf_struct_scnprintf() 1073 btf_dump__free(btf_dump); in btf_struct_scnprintf()
|
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 293 struct btf_dump *d; in format_btf_variable()
|