Re: [PATCH v2 bpf-next 0/5] libbpf: BTF field iterator

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

 



On 05/06/2024 09:52, Jiri Olsa wrote:
> On Tue, Jun 04, 2024 at 05:16:24PM -0700, Andrii Nakryiko wrote:
>> Add BTF field (type and string fields, right now) iterator support instead of
>> using existing callback-based approaches, which make it harder to understand
>> and support BTF-processing code.
>>
>> v1->v2:
>>   - t_cnt -> t_off_cnt, m_cnt -> m_off_cnt (Eduard);
>>   - simpified code in linker.c (Jiri);
>> rfcv1->v1:
>>   - check errors when initializing iterators (Jiri);
>>   - split RFC patch into separate patches.
>>
>> Andrii Nakryiko (5):
>>   libbpf: add BTF field iterator
>>   libbpf: make use of BTF field iterator in BPF linker code
>>   libbpf: make use of BTF field iterator in BTF handling code
>>   bpftool: use BTF field iterator in btfgen
>>   libbpf: remove callback-based type/string BTF field visitor helpers
> 
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
>

Retested v2, all looks good

Tested-by: Alan Maguire <alan.maguire@xxxxxxxxxx>

> jirka
> 
>>
>>  tools/bpf/bpftool/gen.c         |  16 +-
>>  tools/lib/bpf/btf.c             | 328 +++++++++++++++++++-------------
>>  tools/lib/bpf/libbpf_internal.h |  26 ++-
>>  tools/lib/bpf/linker.c          |  58 +++---
>>  4 files changed, 262 insertions(+), 166 deletions(-)
>>
>> -- 
>> 2.43.0
>>




[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