On Tue, 2024-05-28 at 13:24 +0100, Alan Maguire wrote: > Test generation of split+distilled base BTF, ensuring that > > - named base BTF STRUCTs and UNIONs are represented as 0-vlen sized > STRUCT/UNIONs > - named ENUM[64]s are represented as 0-vlen named ENUM[64]s > - anonymous struct/unions are represented in full in split BTF > - anonymous enums are represented in full in split BTF > - types unreferenced from split BTF are not present in distilled > base BTF > > Also test that with vmlinux BTF and split BTF based upon it, > we only represent needed base types referenced from split BTF > in distilled base. > > Signed-off-by: Alan Maguire <alan.maguire@xxxxxxxxxx> > --- Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>