Searched refs:btf_dump (Results 1 – 10 of 10) sorted by relevance
| /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 *d) in btf_dump__free() [all …]
|
| H A D | btf.h | 348 struct btf_dump; 357 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf, 362 LIBBPF_API void btf_dump__free(struct btf_dump *d); 364 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id); 388 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id, 407 btf_dump__dump_type_data(struct btf_dump *d, __u32 id,
|
| /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 | 155 struct btf_dump *d, in codegen_datasec_def() 295 struct btf_dump *d; in codegen_datasecs() 344 struct btf_dump *d; in codegen_subskel_datasecs() 1053 struct btf_dump *d = NULL; in walk_st_ops_shadow_vars()
|
| H A D | btf.c | 507 static int dump_btf_kfuncs(struct btf_dump *d, const struct btf *btf) in dump_btf_kfuncs() 770 struct btf_dump *d; in dump_btf_c()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-trace.txt | 245 Use btf_dump to pretty print syscall argument data, instead of using hand-crafted pretty 246 printers. This option is intended for testing BTF integration in perf trace. btf_dump-based
|
| /linux/tools/perf/ |
| H A D | builtin-trace.c | 124 int type_id; /* used in btf_dump */ 1053 struct btf_dump *btf_dump; in btf_struct_scnprintf() 1064 btf_dump = btf_dump__new(btf, trace__btf_dump_snprintf, &ctx, &dump_opts); in btf_struct_scnprintf() 1065 if (btf_dump == NULL) in btf_struct_scnprintf() 1069 if (btf_dump__dump_type_data(btf_dump, type_id, arg->augmented.args->value, type->size, &dump_data_opts) == 0) in btf_struct_scnprintf() 1076 btf_dump__free(btf_dump); in trace__btf_scnprintf() 5655 OPT_BOOLEAN(0, "force-btf", &trace.force_btf, "Prefer btf_dump general pretty printer" in cmd_trace() 1044 struct btf_dump *btf_dump; btf_struct_scnprintf() local
|
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 301 struct btf_dump *d;
|