Searched refs:btf_dump (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | btf_dump.c | 78 struct btf_dump { struct 130 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument 135 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() 144 static int btf_dump_mark_referenced(struct btf_dump *d); 145 static int btf_dump_resize(struct btf_dump *d); 147 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new() 152 struct btf_dump *d; in btf_dump__new() 161 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new() 193 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize() 233 void btf_dump__free(struct btf_dump *d) in btf_dump__free() [all …]
|
D | btf.h | 234 struct btf_dump; 243 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf, 248 LIBBPF_API void btf_dump__free(struct btf_dump *d); 250 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id); 274 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id, 292 btf_dump__dump_type_data(struct btf_dump *d, __u32 id,
|
D | Build | 3 btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dump.c | 29 struct btf_dump *d; in btf_dump_all_types() 136 struct btf_dump *d = NULL; in test_btf_dump_incremental() 269 static int btf_dump_data(struct btf *btf, struct btf_dump *d, in btf_dump_data() 350 static void test_btf_dump_int_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_int_data() 408 static void test_btf_dump_float_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_float_data() 453 static void test_btf_dump_char_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_char_data() 475 static void test_btf_dump_typedef_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_typedef_data() 530 static void test_btf_dump_enum_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_enum_data() 566 static void test_btf_dump_struct_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_struct_data() 801 static void test_btf_dump_var_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_var_data() [all …]
|
D | btf_split.c | 16 struct btf_dump *d = NULL; in test_btf_split()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 261 struct btf_dump *d = NULL; in btf_type_c_dump()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | gen.c | 126 struct btf_dump *d, in codegen_datasec_def() 248 struct btf_dump *d; in codegen_datasecs() 298 struct btf_dump *d; in codegen_subskel_datasecs()
|
D | btf.c | 466 struct btf_dump *d; in dump_btf_c()
|