linux_dsm_epyc7002/tools/lib
Andrii Nakryiko 351131b51c libbpf: add btf_dump API for BTF-to-C conversion
BTF contains enough type information to allow generating valid
compilable C header w/ correct layout of structs/unions and all the
typedef/enum definitions. This patch adds a new "object" - btf_dump to
facilitate dumping BTF as valid C. btf_dump__dump_type() is the main API
which takes care of dumping out (through user-provided printf-like
callback function) C definitions for given type ID and it's required
dependencies. This allows for not just dumping out entirety of BTF types,
but also selective filtering based on user-provided criterias w/ minimal
set of dependent types.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-05-24 14:05:58 -07:00
..
api
bpf libbpf: add btf_dump API for BTF-to-C conversion 2019-05-24 14:05:58 -07:00
lockdep lockdep/lib/tests: Test dynamic key registration 2019-02-28 07:55:48 +01:00
subcmd
symbol
traceevent tools lib traceevent: Man pages for trace sequences APIs 2019-05-15 16:36:48 -03:00
bitmap.c
find_bit.c
hweight.c
rbtree.c tools: Update rbtree implementation 2019-01-25 15:12:09 +01:00
str_error_r.c
string.c
vsprintf.c