Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4237632rwb; Tue, 8 Nov 2022 14:14:51 -0800 (PST) X-Google-Smtp-Source: AMsMyM73epFGPM9cx5wrASbk/vfeTmzpYfl2UZa9ka2VGTiYb6Yvma2GDlN7gLWWUIx/qqyLnXv3 X-Received: by 2002:a63:f103:0:b0:439:398f:80f8 with SMTP id f3-20020a63f103000000b00439398f80f8mr48941559pgi.494.1667945691323; Tue, 08 Nov 2022 14:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667945691; cv=none; d=google.com; s=arc-20160816; b=cgHK1DCt4lZ4nlwTUKt+DI3zl59gurU2Bdy6XZPyxumtTJlwttOfJ8THZ7e7q3miS8 Eq70/ni8JmpE8lpawQYRsoyW/xWg/3iGr62/Ioh1/HQ3pzfF1HheSul/HtR043dH0ufH fLtwkGBBtCqTVi/FE2UpFv74vz9Ik2P60C06TXj6noKOwVvn2sFNr1rHP/95VNTILNnZ hvBhTZC+PrmK0RKwACvonZ9G1EYrNRyDthQ49j60TB7Y5IGK1BSTv/+/WIIg2OuNiS/H ONOd6CTmzfVzOuWqxApFhinqlv2qz/gyIp+je/4tgNuBTk0pjPrZMiC1/VBJuMUE8OTS +DSA== 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=TVdrulvBP9dwP5jvB5q/Mf9zPL0yOICwtOaPOXZQyt4=; b=iHHT896F+YhCVIE9ajyx9EoO9Yrxi01DjfdbOoObVn1egngyNrdANr7wgUsA1VRJgi jg8lPCtXkyHkLgDgH94bW/UFYMCEmif5KAyVh/JsaCEuKzcR6UlwDiRf+GDtPoxm3Dao vRLdjVnbeLhzGarqDNEFHww6WSBLKFQoJZ2gFDJTmsGoXTw7DeTcyih3/9R1251QQbNM XurYu2QlIOVwhA9tokmJhJgJ8pta4QQmzaZITsPPq11AFjQZ/9GLx/9qowWnom7oVhsj 6tvpwmgQrqd8c7BLPcpmhN/du2peYGDCbO2iKYGEkDbW0M0rj+n4ei9K9QxSZaHcUEX7 9b8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hgu7z3Uz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170903234400b00185714cba54si17575135plh.167.2022.11.08.14.14.10; Tue, 08 Nov 2022 14:14:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hgu7z3Uz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229699AbiKHVQF (ORCPT + 91 others); Tue, 8 Nov 2022 16:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiKHVQC (ORCPT ); Tue, 8 Nov 2022 16:16:02 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E3056564; Tue, 8 Nov 2022 13:16:01 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 67221CE1CE6; Tue, 8 Nov 2022 21:16:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27B96C433D6; Tue, 8 Nov 2022 21:15:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667942158; bh=pcLNw0Istjy7ekvKgb8Hilkkldz4DcMsYXFQYpKmAlM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hgu7z3UzcSjB/Z7s2EP8kGi4vJBqUD0Jy7owy+6TdGHdk43+aoz9JLnxRD7RsAmpi vFOZIxUrEAbmLcpQ7CTx7Cso2JdZp/eLuF7EqyS90qZ8hpSec/DO4CXB1ny9mKjxRA l8ZUOM28rh1HMvbDdYUHxji4vHb0kbBOdk0LjtPVutkaf1Ytk6VUdPgiWc+RzHmtua tt4LePODoyltJopnsUjOPFL00VGKhraIVXSnphMVXqOAmpRL7VjE81LrR+B2WHjYlf g/6ykC3YCYSNk6urDQR0SPg0kih41RxbbmBNJaoB8AlKk9my5rp3s3F4J6jsGUMENz JYpctaswuiE1Q== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id C7B4E4034E; Tue, 8 Nov 2022 18:15:55 -0300 (-03) Date: Tue, 8 Nov 2022 18:15:55 -0300 From: Arnaldo Carvalho de Melo To: Donglin Peng Cc: peterz@infradead.org, adrian.hunter@intel.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v2] perf tools: exclude the include/perf/ directory Message-ID: References: <20221103092704.173391-1-dolinux.peng@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221103092704.173391-1-dolinux.peng@gmail.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Nov 03, 2022 at 02:27:04AM -0700, Donglin Peng escreveu: > Commit 3af1dfdd51e0 ("perf build: Move perf_dlfilters.h in the > source tree") moved perf_dlfilters.h to the include/perf/ directory > while include/perf is ignored because it has 'perf' in the name. > Newly created files in the include/perf/ directory will be ignored. Thanks, applied. - Arnaldo > Can check: > > Before: > $ touch tools/perf/include/perf/junk > $ git status | grep junk > $ git check-ignore -v tools/perf/include/perf/junk > tools/perf/.gitignore:6:perf tools/perf/include/perf/junk > > After: > $ git status | grep junk > tools/perf/include/perf/junk > $ git check-ignore -v tools/perf/include/perf/junk > > Add !include/perf/ to perf's .gitignore file. > > Fixes: 3af1dfdd51e0 ("perf build: Move perf_dlfilters.h in the source tree") > Signed-off-by: Donglin Peng > Acked-by: Adrian Hunter > --- > Changes in v2: > - add 'Fixes:' tag in commit message > - make commit message more clearer > --- > tools/perf/.gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore > index a653311d9693..fd7a6ff9e7aa 100644 > --- a/tools/perf/.gitignore > +++ b/tools/perf/.gitignore > @@ -4,6 +4,7 @@ PERF-GUI-VARS > PERF-VERSION-FILE > FEATURE-DUMP > perf > +!include/perf/ > perf-read-vdso32 > perf-read-vdsox32 > perf-help > -- > 2.25.1 -- - Arnaldo