[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzZi1KOY21SE__H2q8YjT4972QLYPhMX7tDeUPgnM8NFMw@mail.gmail.com>
Date: Fri, 26 Jun 2020 14:51:55 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
Martin KaFai Lau <kafai@...com>,
David Miller <davem@...hat.com>,
John Fastabend <john.fastabend@...il.com>,
Wenbo Zhang <ethercflow@...il.com>,
KP Singh <kpsingh@...omium.org>,
Andrii Nakryiko <andriin@...com>,
Brendan Gregg <bgregg@...flix.com>,
Florent Revest <revest@...omium.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH v4 bpf-next 11/14] tools headers: Adopt verbatim copy of
btf_ids.h from kernel sources
On Thu, Jun 25, 2020 at 4:48 PM Jiri Olsa <jolsa@...nel.org> 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@...nel.org>
> ---
I don't like `#define GUARD 1`, but besides that:
Acked-by: Andrii Nakryiko <andriin@...com>
> 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
>
[...]
Powered by blists - more mailing lists