Re: [PATCH bpf-next 0/2] add btf_dedup() support for VAR and DATASEC

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

 



On 04/16/2019 01:48 AM, andrii.nakryiko@xxxxxxxxx wrote:
> From: Andrii Nakryiko <andriin@xxxxxx>
> 
> This patchset adds support for new BTF_KIND_VAR and BTF_KIND_DATASEC BTF types
> in btf_dedup() algorithm. VAR and DATASEC are not deduplicated and are always
> considered to be unique, but they require referenced type IDs adjustment.
> 
> Patch #1 adds VAR/DATASEC pass-through support to btf_dedup().
> Patch #2 adds a test validating all the type ID adjustments are correct.
> 
> Andrii Nakryiko (2):
>   btf: add support for VAR and DATASEC in btf_dedup()
>   selftests/btf: add VAR and DATASEC case for dedup tests
> 
>  tools/lib/bpf/btf.c                    | 29 +++++++++++++--
>  tools/testing/selftests/bpf/test_btf.c | 49 ++++++++++++++++++++++++++
>  2 files changed, 76 insertions(+), 2 deletions(-)
> 

Looks good, applied, thanks!



[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