]> git.itanic.dy.fi Git - linux-stable/commitdiff
perf tools: Do not ignore the default vmlinux.h
authorNamhyung Kim <namhyung@kernel.org>
Tue, 10 Oct 2023 23:42:47 +0000 (16:42 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 18 Oct 2023 22:35:20 +0000 (15:35 -0700)
The recent change made it possible to generate vmlinux.h from BTF and
to ignore the file.  But we also have a minimal vmlinux.h that will be
used by default.  It should not be ignored by GIT.

Fixes: b7a2d774c9c5 ("perf build: Add ability to build with a generated vmlinux.h")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310110451.rvdUZJEY-lkp@intel.com/
Cc: oe-kbuild-all@lists.linux.dev
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/bpf_skel/vmlinux/.gitignore [new file with mode: 0644]

diff --git a/tools/perf/util/bpf_skel/vmlinux/.gitignore b/tools/perf/util/bpf_skel/vmlinux/.gitignore
new file mode 100644 (file)
index 0000000..49502c0
--- /dev/null
@@ -0,0 +1 @@
+!vmlinux.h