summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/.gitignore
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-06-20 02:17:00 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-06-23 03:01:48 +0300
commit05aca6da3b5ab3c5c6003dbbefc9580d9a6a308b (patch)
treed4c33d240200463799c48fc111c9e76386710461 /tools/bpf/bpftool/.gitignore
parent16e9b187aba60f9014f11a7e95b878850b6c95e5 (diff)
downloadlinux-05aca6da3b5ab3c5c6003dbbefc9580d9a6a308b.tar.xz
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 <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20200619231703.738941-7-andriin@fb.com
Diffstat (limited to 'tools/bpf/bpftool/.gitignore')
-rw-r--r--tools/bpf/bpftool/.gitignore3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/.gitignore b/tools/bpf/bpftool/.gitignore
index ce721adf3161..3e601bcfd461 100644
--- a/tools/bpf/bpftool/.gitignore
+++ b/tools/bpf/bpftool/.gitignore
@@ -7,4 +7,5 @@ bpf-helpers.*
FEATURE-DUMP.bpftool
feature
libbpf
-profiler.skel.h
+/*.skel.h
+/vmlinux.h