Thread (19 messages) 19 messages, 5 authors, 2021-11-04

Re: [PATCH bpf-next 0/2] libbpf: Implement BTF Generator API

From: Rafael David Tinoco <hidden>
Date: 2021-10-29 05:51:45
Also in: bpf

quoted
Have you considered generating kernel BTF with fields that are accessed
by bpf prog only and replacing all other fields with padding ?
That is exactly the result of our final BTF file. We only include the
fields and types being used by the given eBPF object:
A full explanation on this here:

https://github.com/aquasecurity/btfhub/tree/main/tools#how-to-use-libbpf-co-re-relocations-to-build-a-btf-file
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help