Re: [Linux v5.19-rc1] tools/perf/a.out remains after make -C tools/perf clean

From: Arnaldo Carvalho de Melo
Date: Tue Jun 14 2022 - 15:24:57 EST


Em Tue, Jun 07, 2022 at 08:59:31PM +0200, Sedat Dilek escreveu:
> Hi,
>
> I observed this some time ago - so this is not only Linux v5.19-rc1 related.
>
> $ LC_ALL=C make -C tools/perf clean 2>&1 | tee ../make-log_perf-clean.txt
> make: Entering directory '/home/dileks/src/linux-kernel/git/tools/perf'
> CLEAN x86
> CLEAN libtraceevent
> CLEAN libapi
> CLEAN libbpf
> CLEAN libsubcmd
> CLEAN libperf
> CLEAN fixdep
> CLEAN feature-detect
> CLEAN python
> CLEAN bpf-skel
> CLEAN core-objs
> CLEAN core-progs
> CLEAN core-gen
> CLEAN Documentation
> make: Leaving directory '/home/dileks/src/linux-kernel/git/tools/perf'
>
> $ git status -s
> M tools/perf/util/unwind-libunwind-local.c
> ?? tools/perf/a.out
>
> $ rm -v tools/perf/a.out
> 'tools/perf/a.out' deleted
>
> $ git checkout -- tools/perf/util/unwind-libunwind-local.c
>
> $ git status -s
> [ empty ]

Interesting, since Linus complained at some point that after building
perf some new temp file was left there I added 'git status' to my
scripts to always get this flagged.

I'm not seeing this here.

- Arnaldo