Re: [PATCH bpf-next 1/5] libbpf: introduce kflag for type_tags and decl_tags in BTF

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

 



On Wednesday, January 22nd, 2025 at 2:56 AM, Alan Maguire <alan.maguire@xxxxxxxxxx> wrote:

> 
> 
> On 22/01/2025 02:53, Ihor Solodrai wrote:
> 
> > Add the following functions to libbpf API:
> > * btf__add_type_attr()
> > * btf__add_decl_attr()
> > 
> > These functions allow to add to BTF the type tags and decl tags with
> > info->kflag set to 1. The kflag indicates that the tag directly
> > encodes an attribute and not a normal tag.
> > 
> > See Documentation/bpf/btf.rst changes for details on the semantics.
> > 
> > Suggested-by: Andrii Nakryiko andrii@xxxxxxxxxx
> > Signed-off-by: Ihor Solodrai ihor.solodrai@xxxxx
> 
> 
> need to sync include/uapi/linux/btf.h with
> tools/include/uapi/linux/btf.h, but other than that
> 
> Reviewed-by: Alan Maguire alan.maguire@xxxxxxxxxx

I haven't realized btf.h is copied in two places.
Will fix, 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