Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dbtf_dump.c56 struct btf_dump { struct
104 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument
109 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf()
118 static int btf_dump_mark_referenced(struct btf_dump *d);
119 static int btf_dump_resize(struct btf_dump *d);
121 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new()
126 struct btf_dump *d; in btf_dump__new()
129 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new()
162 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize()
191 void btf_dump__free(struct btf_dump *d) in btf_dump__free()
[all …]
Dbtf.h134 struct btf_dump;
142 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf,
146 LIBBPF_API void btf_dump__free(struct btf_dump *d);
148 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id);
171 btf_dump__emit_type_decl(struct btf_dump *d, __u32 id,
DBuild3 btf_dump.o ringbuf.o
/Linux-v5.10/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()
/Linux-v5.10/tools/bpf/bpftool/
Dgen.c96 struct btf_dump *d, in codegen_datasec_def()
190 struct btf_dump *d; in codegen_datasecs()
Dbtf.c384 struct btf_dump *d; in dump_btf_c()