Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp953744pxb; Wed, 3 Mar 2021 22:21:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmYg/KZ3byVHXNo/8TitELV+uzV1Jb5wNB9zygSa38a/f3m9BGjQdNtIdKbV2NEk/SPDAQ X-Received: by 2002:a17:906:ad85:: with SMTP id la5mr2530837ejb.37.1614838883293; Wed, 03 Mar 2021 22:21:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614838883; cv=none; d=google.com; s=arc-20160816; b=v1uDzoiBqUDD3EQWMYIo68leF7FBu7Uc0NAgpjWG+tHY32Nd+PnjXYXG09bt8rf2/r /WmAGTxTmYQCekZK0BA2GjV/Hkqn76yP5g9RqFDL5VXeB+Cvlc7/z3ML8MKTTuYJXAHT P5Y8pEvvmooOeSjgwOTXpudKBinIVMYJy8vAUR2OgQbarqoD9LWcaBXsbCXxGaFBg42O 3c7HbFuuWe0nRebZKbnte++tcFptK4FrEgu+mleGJFDXQil0ufTerhJYRraHls2fSdfa hWpLqte9IO/oz1An996LDHo4/Szowto0LeGPmRKRs0zN/vDDVkvomh4I8IPyUDBB2t40 2sWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6OMUsxI/Tfr4M1KAY+QbeL+YpYysM/NCMWteLJebFJw=; b=YT//ZzVVWPso2+W2BKoVNT/zucaCh81zrjaPIUtl6dH7qyRjjcyjsz9mcw0yEcBNyE Hco9bcKk0ghW3Xgd2/m2IL3g7TLnp/DFuJHOe7Yq6gvnM8huV4W5lQJrUqmNs6uzrmse cF99ki7v4Jf8NRy3E1fOgwzJfcLh9RR28amNNuh0JZukQfNSz7rrVWhbPReJvqPtsrSX J4Fa/LVEm63xo+3PdtGwAZqDCjDjruO5KQq5vy49uF7nQh+GTfQDrPaEFszHvyDW9C8/ Dhkc1lfY3ojrGpfhzhraVJK6LhH2pnwKd865q88A9JX1G7jB5jcI/0AgS5eUsTX330Sa NDLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T3B9ASBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si16324563edy.306.2021.03.03.22.21.00; Wed, 03 Mar 2021 22:21:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T3B9ASBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573022AbhCBOI2 (ORCPT + 99 others); Tue, 2 Mar 2021 09:08:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:50832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442154AbhCBMcw (ORCPT ); Tue, 2 Mar 2021 07:32:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id ED67764F0D; Tue, 2 Mar 2021 12:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614687794; bh=nIxz5EvW+c2Zl9voIp91MQE6tD0opgmdGseUBbonhvA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T3B9ASBjSTTtqOQUSKaCij/h2eEfr5IJmL/vaWu3dKGuUhHq1H4qipwxNmFqqFAan 4rPclXys+P6c0s1fRH9oKWQ0CiEn0DuXz5cz0TYd3s/tK+G5qVuKvZwxgp2C6BK1UB 4zAO1lBkJzajSP18qolntGRw8Gpv0j7ddGjqV1fvF0Go3sCW7ub5a9D91iPHzH79f1 DAJalm69h4rkGsCG/nzIcPIBhNt+osLwFJNK+clBF4dBBnnPrn+FgEQ2vtsC5qdWM+ HwdWaRj2bTIS/TR1QeXFngyLBkW44cldpMPiJlZ5Ogj910b26t75g1TtxLx8lgsM+T sxgO/5UGxpcSQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E9F1840CD9; Tue, 2 Mar 2021 09:23:09 -0300 (-03) Date: Tue, 2 Mar 2021 09:23:09 -0300 From: Arnaldo Carvalho de Melo To: Gon Solo Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andreas Wendleder , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Perf: Clean generated directory. Message-ID: References: <20210301185642.163396-1-gonsolo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210301185642.163396-1-gonsolo@gmail.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Mar 01, 2021 at 07:56:42PM +0100, Gon Solo escreveu: > From: Andreas Wendleder > > Remove generated directory tools/perf/arch/x86/include/generated. Thanks applied. There is one more, consider fixing it too: $ make -C tools/perf clean make: Entering directory '/home/acme/git/perf/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/acme/git/perf/tools/perf' $ find tools/perf -name generated tools/perf/trace/beauty/generated $ - Arnaldo > Signed-off-by: Andreas Wendleder > --- > tools/perf/arch/x86/Makefile | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/tools/perf/arch/x86/Makefile b/tools/perf/arch/x86/Makefile > index 8cc6642fce7a..5a9f9a7bf07d 100644 > --- a/tools/perf/arch/x86/Makefile > +++ b/tools/perf/arch/x86/Makefile > @@ -10,10 +10,11 @@ PERF_HAVE_JITDUMP := 1 > # Syscall table generation > # > > -out := $(OUTPUT)arch/x86/include/generated/asm > -header := $(out)/syscalls_64.c > -sys := $(srctree)/tools/perf/arch/x86/entry/syscalls > -systbl := $(sys)/syscalltbl.sh > +generated := $(OUTPUT)arch/x86/include/generated > +out := $(generated)/asm > +header := $(out)/syscalls_64.c > +sys := $(srctree)/tools/perf/arch/x86/entry/syscalls > +systbl := $(sys)/syscalltbl.sh > > # Create output directory if not already present > _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') > @@ -22,6 +23,6 @@ $(header): $(sys)/syscall_64.tbl $(systbl) > $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@ > > clean:: > - $(call QUIET_CLEAN, x86) $(RM) $(header) > + $(call QUIET_CLEAN, x86) $(RM) -r $(header) $(generated) > > archheaders: $(header) > -- > 2.27.0 > -- - Arnaldo