Home
last modified time | relevance | path

Searched refs:btf_dump (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dbtf_dump.c79 struct btf_dump { struct
131 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument
136 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf()
145 static int btf_dump_mark_referenced(struct btf_dump *d);
146 static int btf_dump_resize(struct btf_dump *d);
148 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new()
153 struct btf_dump *d; in btf_dump__new()
162 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new()
194 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize()
234 void btf_dump__free(struct btf_dump *d) in btf_dump__free()
[all …]
Dbtf.h234 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,
DBuild3 btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c29 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 …]
Dbtf_split.c16 struct btf_dump *d = NULL; in test_btf_split()
/linux-6.6.21/tools/testing/selftests/bpf/
Dbtf_helpers.c261 struct btf_dump *d = NULL; in btf_type_c_dump()
/linux-6.6.21/tools/bpf/bpftool/
Dgen.c126 struct btf_dump *d, in codegen_datasec_def()
248 struct btf_dump *d; in codegen_datasecs()
297 struct btf_dump *d; in codegen_subskel_datasecs()
Dbtf.c466 struct btf_dump *d; in dump_btf_c()