Re: [PATCH 1/1] perf bench bpf: Add missing .gitignore file
From: Namhyung Kim
Date: Tue Jun 23 2026 - 20:27:51 EST
On Tue, Jun 23, 2026 at 09:05:30PM -0300, Arnaldo Carvalho de Melo wrote:
> Hi Linus,
>
> I'll have this in the next pull req if you prefer not to merge
> now,
>
> - Arnaldo
>
> ---
> From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> In 713eeb2279402758 ("perf build: Move BPF skeleton generation out of
> Makefile.perf") the bpf_skel used with 'perf bench uprobe' was moved
> from tools/perf/util/bpf_skel/ to tools/perf/bench/bpf_skel.
>
> Copy tools/perf/util/bpf_skel/.gitignore to that new directory so that
> files generated during build get ignored by git.
>
> Reported-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> Cc: Ian Rogers <irogers@xxxxxxxxxx>
> Cc: James Clark <james.clark@xxxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Fixes: 713eeb2279402758 ("perf build: Move BPF skeleton generation out of Makefile.perf")
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> ---
> tools/perf/bench/bpf_skel/.gitignore | 4 ++++
> 1 file changed, 4 insertions(+)
> create mode 100644 tools/perf/bench/bpf_skel/.gitignore
>
> diff --git a/tools/perf/bench/bpf_skel/.gitignore b/tools/perf/bench/bpf_skel/.gitignore
> new file mode 100644
> index 0000000000000000..cd01455e1b53c3d9
> --- /dev/null
> +++ b/tools/perf/bench/bpf_skel/.gitignore
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +.tmp
> +*.skel.h
> +vmlinux.h
I think it's enough to add '*.skel.h' only as other files are still
under util/bpf_skel. But having others would not be harmful.
Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Thanks,
Namhyung