Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c78 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()
156 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new()
189 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize()
229 void btf_dump__free(struct btf_dump *d) in btf_dump__free()
[all …]
Dbtf.h152 struct btf_dump;
160 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf,
164 LIBBPF_API void btf_dump__free(struct btf_dump *d);
166 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id);
190 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id,
208 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
/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c31 struct btf_dump *d; in btf_dump_all_types()
139 struct btf_dump *d = NULL; in test_btf_dump_incremental()
246 static int btf_dump_data(struct btf *btf, struct btf_dump *d, in btf_dump_data()
327 static void test_btf_dump_int_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_int_data()
370 static void test_btf_dump_float_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_float_data()
415 static void test_btf_dump_char_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_char_data()
437 static void test_btf_dump_typedef_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_typedef_data()
492 static void test_btf_dump_enum_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_enum_data()
528 static void test_btf_dump_struct_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_struct_data()
763 static void test_btf_dump_var_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_var_data()
[all …]
Dbtf_split.c17 struct btf_dump *d = NULL; in test_btf_split()
/tools/testing/selftests/bpf/
Dbtf_helpers.c235 struct btf_dump *d = NULL; in btf_type_c_dump()
/tools/bpf/bpftool/
Dgen.c97 struct btf_dump *d, in codegen_datasec_def()
197 struct btf_dump *d; in codegen_datasecs()
Dbtf.c410 struct btf_dump *d; in dump_btf_c()