Re: ANNOUNCE: pahole v1.23 (BTF tags and alignment inference)

From: Arnaldo Carvalho de Melo
Date: Wed Dec 08 2021 - 13:35:44 EST


Em Wed, Dec 08, 2021 at 03:26:31PM +0100, Jan Engelhardt escreveu:
>
> On Wednesday 2021-12-08 14:54, Arnaldo Carvalho de Melo wrote:
> >
> > The v1.23 release of pahole and its friends is out, this time
> >the main new features are the ability to encode BTF tags, to carry
>
> [ 7s] /home/abuild/rpmbuild/BUILD/dwarves-1.23/btf_encoder.c:145:10: error: 'BTF_KIND_DECL_TAG' undeclared here (not in a function); did you mean 'BTF_KIND_FLOAT'?
>
> libbpf-0.5.0 is present, since CMakeLists.txt checked for >= 0.4.0.

My fault, knowing the flux that libbpf is in getting to 1.0 I should
have retested with the perf tools container based tests.

Can you think about some fix for that? Lemme see if BTF_KIND_DECL_TAG is
a define or an enum...

> The 1.23 tag is missing from git.

pushed out, thanks for pointing it out.

> Is git://git.kernel.org/pub/scm/devel/pahole/pahole out of date? (Last commit
> from October 2021)

--

- Arnaldo