lkml.org 
[lkml]   [2021]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ANNOUNCE: pahole v1.23 (BTF tags and alignment inference)

On Thursday 2021-12-09 23:09, Yonghong Song wrote:
>>
>> Just bumping this line
>>
>> pkg_check_modules(LIBBPF REQUIRED libbpf>=0.4.0)
>>
>> to the right version would absolutely be sufficient for us. Of course, that
>> requires that the libbpf project itself at least manages to make tags
>> regularly.
>
> Change above version 0.4.0 to 0.6.0 should work as libbpf 0.6.0 contains
> all the changes related to BTF_KIND_{TYPE,DECL}_TAGs.

Oh well, it does not. /usr/include/bpf/btf.h makes use of
BTF_KIND_{TYPE,DECL}_TAGs, but if /usr/include/linux/btf.h does not
have it (yet), compilation of libbpf-using components fails left and
right unfortunately despite libbpf itself succeeding in compilation.

\
 
 \ /
  Last update: 2021-12-12 11:05    [W:0.054 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site