Thread (56 messages) 56 messages, 6 authors, 2020-07-17

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

From: Andrii Nakryiko <hidden>
Date: 2020-06-26 21:52:10
Also in: bpf

On Thu, Jun 25, 2020 at 4:48 PM Jiri Olsa [off-list ref] 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@kernel.org>
---
I don't like `#define GUARD 1`, but besides that:

Acked-by: Andrii Nakryiko <redacted>
 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
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help