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 > [...]