Hi Sedat, On 6/27/22 08:23, Sedat Dilek wrote: > On Wed, Jun 15, 2022 at 12:23 AM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: >> [ CC linux-kbuild folks ] >> >> Hi, >> >> while digging into a perf issue I see this: >> >> $ cd /path/to/linux.git >> >> $ LC_ALL=C make -C tools/ clean 2>&1 | tee ../make-log_tools-clean.txt >> ... Do you mind trying this? diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile index 3822f4ea5f49..1bea2d16d4c1 100644 --- a/tools/tracing/rtla/Makefile +++ b/tools/tracing/rtla/Makefile @@ -1,6 +1,6 @@ NAME := rtla # Follow the kernel version -VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion) +VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion | grep -v make) # From libtracefs: # Makefiles suck: This macro sets a default value of $(2) for the