Thread (2 messages) flat view 2 messages, 2 authors, 2019-02-17

Re: [PATCH bpf-next] tools/libbpf: support bigger BTF data sizes

From: Alexei Starovoitov <hidden>
Date: 2019-02-17 02:51:31
Also in: bpf

On Fri, Feb 15, 2019 at 07:52:18PM -0800, Andrii Nakryiko wrote:
While it's understandable why kernel limits number of BTF types to 65535
and size of string section to 64KB, in libbpf as user-space library it's
too restrictive. E.g., pahole converting DWARF to BTF type information
for Linux kernel generates more than 3 million BTF types and more than
3MB of strings, before deduplication. So to allow btf__dedup() to do its
work, we need to be able to load bigger BTF sections using btf__new().

Singed-off-by: Andrii Nakryiko [off-list ref]
Applied, Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help