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

From: Sedat Dilek
Date: Tue Jun 07 2022 - 18:34:20 EST


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 ]

Thanks.

Regards,
-Sedat-