Re: [PATCH dwarves v2] pahole: Inject kfunc decl tags into BTF

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

 



Hi Jiri,

Thanks for reviewing!

On Fri, Jan 12, 2024 at 05:16:07PM +0100, Jiri Olsa wrote:
> On Wed, Jan 10, 2024 at 06:14:25PM -0700, Daniel Xu wrote:
> 
> are .BTF_ids records guaranteed to be sorted by address? so we are
> sure that the set will be followed by its records?

I think so, unless I am misunderstanding something. The asm directives
are basically laying out the btf_id_set8 datastructures by hand.  So if
the entries don't adhere to the exact layout then lots more will break
right?

> 
> I thought we'd need to find size for each set and then check each
> .BTF_ids record if it belongs to the set

Not sure I'm following. How would the check be done differently than in
the patch?


Thanks,
Daniel




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux