diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-19 23:17:00 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-23 00:01:48 +0000 |
| commit | 05aca6da3b5ab3c5c6003dbbefc9580d9a6a308b (patch) | |
| tree | d4c33d240200463799c48fc111c9e76386710461 /tools/lib/bpf/bpf_core_read.h | |
| parent | tools/bpftool: Minimize bootstrap bpftool (diff) | |
| download | kernel-05aca6da3b5ab3c5c6003dbbefc9580d9a6a308b.tar.gz kernel-05aca6da3b5ab3c5c6003dbbefc9580d9a6a308b.zip | |
tools/bpftool: Generalize BPF skeleton support and generate vmlinux.h
Adapt Makefile to support BPF skeleton generation beyond single profiler.bpf.c
case. Also add vmlinux.h generation and switch profiler.bpf.c to use it.
clang-bpf-global-var feature is extended and renamed to clang-bpf-co-re to
check for support of preserve_access_index attribute, which, together with BTF
for global variables, is the minimum requirement for modern BPF programs.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions
