Searched refs:btf_dump (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/tools/lib/bpf/ |
| H A D | btf_dump.c | 80 struct btf_dump { struct 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() 235 void btf_dump__free(struct btf_dump *d) in btf_dump__free() 1722 static void btf_dump_data_pfx(struct btf_dump *d) in btf_dump_data_pfx() 1866 static int btf_dump_int_data(struct btf_dump *d, in btf_dump_int_data() 1997 static int btf_dump_var_data(struct btf_dump *d, in btf_dump_var_data() [all …]
|
| H A D | btf.h | 276 struct btf_dump; 285 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf, 290 LIBBPF_API void btf_dump__free(struct btf_dump *d); 292 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id); 316 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id, 334 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-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 29 struct btf_dump *d; in btf_dump_all_types() 131 struct btf_dump *d; 339 static int btf_dump_data(struct btf *btf, struct btf_dump *d, in btf_dump_data() 420 static void test_btf_dump_int_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_int_data() 478 static void test_btf_dump_float_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_float_data() 523 static void test_btf_dump_char_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_char_data() 600 static void test_btf_dump_enum_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_enum_data() 636 static void test_btf_dump_struct_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_struct_data() 871 static void test_btf_dump_var_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_var_data() 912 struct btf_dump *d; in test_btf_dump_datasec_data() [all …]
|
| H A D | btf_split.c | 16 struct btf_dump *d = NULL; in test_btf_split()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | btf_helpers.c | 261 struct btf_dump *d = NULL; in btf_type_c_dump()
|
| /linux-6.15/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() 970 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-6.15/tools/perf/Documentation/ |
| H A D | perf-trace.txt | 249 Use btf_dump to pretty print syscall argument data, instead of using hand-crafted pretty 250 printers. This option is intended for testing BTF integration in perf trace. btf_dump-based
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-trace.c | 1057 struct btf_dump *btf_dump; in btf_struct_scnprintf() local 1068 btf_dump = btf_dump__new(btf, trace__btf_dump_snprintf, &ctx, &dump_opts); in btf_struct_scnprintf() 1069 if (btf_dump == NULL) in btf_struct_scnprintf() 1073 …if (btf_dump__dump_type_data(btf_dump, type_id, arg->augmented.args->value, type->size, &dump_data… in btf_struct_scnprintf() 1080 btf_dump__free(btf_dump); in btf_struct_scnprintf()
|