Re: [PATCH v13 bpf-next 0/8] Add BTF layout to BTF
Andrii Nakryiko <[email protected]>
| Newsgroups | org.kernel.vger.dwarves,org.kernel.vger.bpf |
|---|---|
| Message-ID | <CAEf4BzYgArb8DhgNdOikPYSqCjYSasmT1TA8d26=WSk+aPWFOA@mail.gmail.com> |
On Wed, Mar 11, 2026 at 10:35 AM Alan Maguire <[email protected]> wrote: > > On 06/03/2026 11:36, Alan Maguire wrote: > > Update struct btf_header to add a new "layout" section containing > > a description of how to parse the BTF kinds known about at BTF > > encoding time. This provides the opportunity for tools that might > > not know all of these kinds - as is the case when older tools run > > on more newly-generated BTF - to still parse the BTF provided, > > even if it cannot all be used. > > > > looks like patch 2 needs a resync with bpf-next [1]; let me know if there's > any additional feedback and I can roll it into an updated revision if needed. > please see my comment/question about potentially truncating btf_header (internally) and how that situation should be dealt with for writable BTF situation, but other than that looks good to me > Thanks! > > [1] https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/