From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDE1BC43334 for ; Thu, 30 Jun 2022 09:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232276AbiF3J5t (ORCPT ); Thu, 30 Jun 2022 05:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234681AbiF3J5q (ORCPT ); Thu, 30 Jun 2022 05:57:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F40043ED5; Thu, 30 Jun 2022 02:57:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1EA866207F; Thu, 30 Jun 2022 09:57:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C8C6C34115; Thu, 30 Jun 2022 09:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656583064; bh=CU8sfltvgR3OfUDZxSf9YawLMsQ0a1whK3wUGRtf0Bs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kjV8bTdOSqdmcOfeELu+uLEV0wvLyXOx2uBHEzgnWssDAkuc6rKwgEtymggTqJJk/ jFGGckIGTbZ/tqsVcfn6ijY7yU+oZWB4tSXhYcVR0QZsDyIJdpXf1pe99aDEy8nnZi 8X/+IIcFkQWz7Es2xzU3Bx6Z4quSUWONKLVUr4E85iyhyf4xHhAPKZ/3he49+AZ3ja uU1I7dCqXm/5QuMh6e2n+p9ZeVRYYeWmCVPaQxMjc/LPhnXKwwNzDCB7fxkcqOI77x yFTYzx54qQPjhOdU/0gCP6CAd84Y8LXaDYs52BTmCB8tiYOgZHrGgnwaojYKd1ueY0 WmxNIPWum/oKQ== Message-ID: <178bee80-3ccc-812a-2e2e-46540bbdcc51@kernel.org> Date: Thu, 30 Jun 2022 11:57:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [Linux v5.19-rc2] rtla: Errors when running `make tools/clean` Content-Language: en-US To: sedat.dilek@gmail.com Cc: linux-trace-devel@vger.kernel.org, Masahiro Yamada , linux-kbuild@vger.kernel.org, Steven Rostedt References: From: Daniel Bristot de Oliveira In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org Hi Sedat, On 6/27/22 08:23, Sedat Dilek wrote: > On Wed, Jun 15, 2022 at 12:23 AM Sedat Dilek 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