RE: [PATCH bpf-next 0/9] libbpf: BTF writer APIs

2020-09-24 Thread John Fastabend
Andrii Nakryiko wrote: > This patch set introduces a new set of BTF APIs to libbpf that allow to > conveniently produce BTF types and strings. Internals of struct btf were > changed such that it can transparently and automatically switch to writable > mode, which allows appending BTF types and stri

[PATCH bpf-next 0/9] libbpf: BTF writer APIs

2020-09-23 Thread Andrii Nakryiko
This patch set introduces a new set of BTF APIs to libbpf that allow to conveniently produce BTF types and strings. Internals of struct btf were changed such that it can transparently and automatically switch to writable mode, which allows appending BTF types and strings. This will allow for libbpf