Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c55 struct btf_dump { struct
105 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() argument
110 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf()
119 struct btf_dump *btf_dump__new(const struct btf *btf, in btf_dump__new()
124 struct btf_dump *d; in btf_dump__new()
127 d = calloc(1, sizeof(struct btf_dump)); in btf_dump__new()
154 void btf_dump__free(struct btf_dump *d) in btf_dump__free()
178 static int btf_dump_mark_referenced(struct btf_dump *d);
179 static int btf_dump_order_type(struct btf_dump *d, __u32 id, bool through_ptr);
180 static void btf_dump_emit_type(struct btf_dump *d, __u32 id, __u32 cont_id);
[all …]
DBuild3 btf_dump.o
Dbtf.h112 struct btf_dump;
120 LIBBPF_API struct btf_dump *btf_dump__new(const struct btf *btf,
124 LIBBPF_API void btf_dump__free(struct btf_dump *d);
126 LIBBPF_API int btf_dump__dump_type(struct btf_dump *d, __u32 id);
/tools/testing/selftests/bpf/
Dtest_btf_dump.c40 struct btf_dump *d; in btf_dump_all_types()
/tools/bpf/bpftool/
Dbtf.c363 struct btf_dump *d; in dump_btf_c()