Re: [PATCH pahole] btf_encoder: Fix void handling in FUNC_PROTO.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Thu, Jan 10, 2019 at 06:07:59PM +0000, Yonghong Song escreveu:
> > Em Thu, Jan 10, 2019 at 11:04:45AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Do you guys have more patches? I'll do some more tests, comparing the
 
> I will have one more. When I tried to implement BTF __int128 support in 
> kernel. pahole seems having some issues while llvm generates correct 
> types (related to member offset in the structure). Currently in the
> middle of debugging and will send a patch soon.

Ok, thanks for the heads up, I'm now trying to figure out the problems
with offsets for packed structs in BTF, also there is the flatenning of
arrays that I'd like to see discussed. i.e.:

   int array[5][5];

is correctly expressed in DWARF and allows reconstructing the original
data structure, while BTF is encoding it in such a way that it comes
back reconstructed as:

   int array[25];

- Arnaldo



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux