Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1114499rwi; Thu, 3 Nov 2022 00:54:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7e3FfmHJepMEdF3w9FUn3eWlBvvOd7xcE7ltO9x64oiufv4LmdwFhMA9RYZndPmucUbCeP X-Received: by 2002:a65:62c7:0:b0:463:9c67:5fe2 with SMTP id m7-20020a6562c7000000b004639c675fe2mr24958116pgv.443.1667462084111; Thu, 03 Nov 2022 00:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667462084; cv=none; d=google.com; s=arc-20160816; b=xgAgnnrie+K8M7hOuAdBjqkB37SS6bQd/SJQt2i146a0OhkxIH+jKszCeXMRH4uY5L SNyJKDK+tg9nhac/9rAvbAo27p2+FvXCdbloclDhHB+Pqda1VD8EFcYiqxiCExNaRUZ2 XBx5GnSR5beW476H2MFvVFanHTD5rfgj8Olf808hCR0hj7C20ZZED4slA58uIR3dbyX8 PGYNge5FvLo9/jyyIxtFdsVAgUlVjNMJztMU2ha5MDGAhywaZp5FDKVyKitqZbTHMKXQ eE+pqa5jUSC65XzerCnuNqdcinyVsm5rZ9LrbEOZdbRrb2sdKvF8KEdGSeN+gIKEjdIb j5XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=uj/KgVwhKhapcOeEGa1drSMaveSCtC5Q9VRb2hQGQtY=; b=0d4gPVHZNmrcraikXvvuhCfnhvbM9p0Cmct9Mw9Id+dDxO5epIsjxWsF/wlLbHObwi JJnh3cbU1ps0cjGQT4Zg1UPlvgwTxBF9lVoPG22YQcDs4HyzDZIY1ooiFMW/joO2wy4X HFxepDi5Lk7beNPyd6H55powrMaEHWb6aA1zPGq+TdqjbyLh5+Y7oJXm2Bcjgol7z+/2 xp34e6s8NfgC1lbww/P9ntGLgddgHYePCIUFh8k/ayHYZRRsOoJfq+8VrLKniUNxCi6j 26oDzt+Xo7hbPVUinZJFkrcRBPQDSjbwru4f3NAezHpo5hkv6OC0nGkiX7LjG5NR5gxS Xryg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FJTYB8Ak; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a65670b000000b0045f83f1eb56si301631pgf.234.2022.11.03.00.54.31; Thu, 03 Nov 2022 00:54:44 -0700 (PDT) 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=@intel.com header.s=Intel header.b=FJTYB8Ak; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbiKCHIo (ORCPT + 97 others); Thu, 3 Nov 2022 03:08:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbiKCHIj (ORCPT ); Thu, 3 Nov 2022 03:08:39 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 219592A2; Thu, 3 Nov 2022 00:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667459318; x=1698995318; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=LXwetU0S7aYaZDcutvKvsebukj29ZZswoUgMeL94BnU=; b=FJTYB8AkFFyFakF8Bb05NrIE8vr9rnka8d9fUUooimQGgfla6Ri/c4LK F0ZtniMMN1lYvQx3ApTpHx/s62EGDIP1us/ny/0ijpr+5u8nCdWcrBOo7 4G553Qy14yUjSMbC7UHdcQeDws+CtrhMtxYCX0osY+y8Qmt3ab9bHtBaK UX5dmIxCB6km0ioLIti4i0OZPOU26EVUjEKA0RvbdTV+pwS8icc7TPJua xl5YSdSD1G6YSH9M4UVF3WZWmG9M0ZeOO7FOv72tgzu/sDSIoNry6YFK0 7hZjvit6MrEmXPLSY3xtypr+9amh53wg3PYQxGfrJTKy0t+e+3txd71B/ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="373834109" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="373834109" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 00:08:37 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="723835987" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="723835987" Received: from ojoledo-mobl2.amr.corp.intel.com (HELO [10.0.2.15]) ([10.252.32.25]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 00:08:36 -0700 Message-ID: Date: Thu, 3 Nov 2022 09:08:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.1 Subject: Re: [PATCH] perf tools: exclude the include/perf/ directory To: Donglin Peng , Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, peterz@infradead.org References: <20221103040321.56233-1-dolinux.peng@gmail.com> Content-Language: en-US From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <20221103040321.56233-1-dolinux.peng@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On 3/11/22 06:03, Donglin Peng wrote: > Commit 3af1dfdd51e0 ("perf build: Move perf_dlfilters.h in the > source tree") moved perf_dlfilters.h to the include/perf/ directory > without updating the .gitignore file, causing new files in the > include/perf/ directory will be ignored. Note: include/perf is ignored because it has 'perf' in the name 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. > > Signed-off-by: Donglin Peng Acked-by: Adrian Hunter > --- > 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