Em Mon, Mar 14, 2022 at 12:38:59PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Mar 09, 2022 at 04:14:40PM -0800, Andrii Nakryiko escreveu: > > I did check locally with latest pahole master, and it seems like > > something is wrong with generated BTF. I get three selftests failure > > if I use latest pahole compiled from master. > > Kui-Feng, please take a look when you get a chance. Arnaldo, please > > hold off from releasing a new version for now. > Sure, will wait. > Also will try to test/fix this as time permits. The tests at https://github.com/libbpf/libbpf/actions/workflows/pahole.yml are all happy with what we have, so maybe a new test is needed for checking these three selftests into what is being tested there? And just so that we're all on the same page, this is the current status in the various branches and git servers: ⬢[acme@toolbox pahole]$ git log --oneline -10 65d7273668ded59b (HEAD -> master, quaco/master, quaco/HEAD, github/tmp.master, github/next, github/master, acme/tmp.master, acme/next, acme/master) pahole: Introduce --compile to produce a compilable output 4d004e2314f3252e core: Ditch 'dwarves__active_loader' extern declaration, it was nuked 4f332dbfd02072e4 emit: Notice type shadowing, i.e. multiple types with the same name (enum, struct, union, etc) 0a82f74ce25a5904 core: Make type->packed_attributes_inferred a one bit member fac821246c582299 core: type->declaration is just one bit, make it a bitfield member 742f04f89da03665 emit: Search for data structures using its type in addition to its name 32cc1481721c4b11 fprintf: Consider enumerations without members as forward declarations 6afc296eeb180e25 emit: Fix printing typedef of nameless struct/union 49a2dd657728675b fprintf: Check if conf->conf_fprintf is not NULL when resolving cacheline_size 46cec35ff0411e0f fprintf: Fix division by zero for uninitialized conf_fprintf->cacheline_size field ⬢[acme@toolbox pahole]$ - Arnaldo