Re: [PATCH v4 bpf-next 11/14] tools headers: Adopt verbatim copy of btf_ids.h from kernel sources

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

 



On Thu, Jun 25, 2020 at 4:48 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> It will be needed by bpf selftest for resolve_btfids tool.
>
> Also adding __PASTE macro as btf_ids.h dependency, which is
> defined in:
>
>   include/linux/compiler_types.h
>
> but because tools/include do not have this header, I'm putting
> the macro into linux/compiler.h header.
>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> ---

I don't like `#define GUARD 1`, but besides that:

Acked-by: Andrii Nakryiko <andriin@xxxxxx>

>  tools/include/linux/btf_ids.h  | 108 +++++++++++++++++++++++++++++++++
>  tools/include/linux/compiler.h |   4 ++
>  2 files changed, 112 insertions(+)
>  create mode 100644 tools/include/linux/btf_ids.h
>

[...]



[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