Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1255685rwi; Thu, 3 Nov 2022 03:08:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zPKi7UzrzhuqTWxeDT/4Bsj9uvbenUVpWbuLZGaw7IFZQcLw+GDMWxkfqFmvj4f3+ib4u X-Received: by 2002:a17:907:7626:b0:7aa:987f:4e8f with SMTP id jy6-20020a170907762600b007aa987f4e8fmr28441203ejc.204.1667470132023; Thu, 03 Nov 2022 03:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667470132; cv=none; d=google.com; s=arc-20160816; b=XDBzVDg1C3F7NDO1KTHcp92nzTOTJ2rZh5RhnKO7G7ORPtYil/EbdkelvTdyDi2WL1 ee4VgtpWD1U+w8dnu06LvnvQ43kutqMwDOVWmwZCE6SDlSUjcdfLnBPMWUPlWh+3uWxi grsCUy7+lwpy0hLghMvXaPSZzXdxdwRedV75dTOJKhgja2FDbReKM+fOrQR0P+8oaNfc vM6ACluY+tLWBJ+7kqyn8PrY2DJCQZg8FdpGw4zNgnj3TAhxOCSonpLsRHktmehQnopz 7bvI+Re3z/umy1xWMXDBfRGmICXqyI/TeZ+1+d4+Zj1Go8LtQLvmz9TATICFHmfDwbAb cyUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aF9SCZOYOqwuCRWtDO+Kri8E5TpMnho7XD2CtgbqYc0=; b=iqr8KHtrWh3PFdO20kwHCuz5Vo7driLX0DqzPL0LCyK+h3M1CO6fMNjaFAldwwDm3U jo3Wv3TePm3kwXl5TFjrx0mZmOuXCazBfUZPjp2DvahaZQUDtafakd47TQOmhMTd5BKa EaoqT10TT68tKeendyEN5w1jBEvmnY0fi2nUgn1/bWCPksTHVRFeYL9bl3LDiEmC1AtQ DAslKEdjPrjsxSbn061nIL3GcEMEam4JHx5ERKnNpGtzMpDJRWrpM63gT06shl6u5FWa tx8kiVDCKda0p9FgYfe89B9Tl+RP0XUWPUyNOHHJUm7CKQCDWrsgS4Ge442odjNj+qB4 EIpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b7EcIXac; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt16-20020a170907729000b0070fc7c9d71dsi601889ejc.989.2022.11.03.03.08.28; Thu, 03 Nov 2022 03:08:52 -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=@gmail.com header.s=20210112 header.b=b7EcIXac; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230300AbiKCJ27 (ORCPT + 97 others); Thu, 3 Nov 2022 05:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230005AbiKCJ2R (ORCPT ); Thu, 3 Nov 2022 05:28:17 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A8E21057D; Thu, 3 Nov 2022 02:27:19 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id j12so1366162plj.5; Thu, 03 Nov 2022 02:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aF9SCZOYOqwuCRWtDO+Kri8E5TpMnho7XD2CtgbqYc0=; b=b7EcIXacH91Qelc+VV9DqHnM4gDYc/WCC8Wnf1U1iRRrIjiZ3Gd5a0nTM83zBRoqXR aCrWJ/V0udsrsR65dS3rIv/ijySbIV6jez/PP3gLdDGe0lAduO12P5OJYw6/5kDkEqkw qAjj0zi7LdOxrXrOzoq0TAIpAjIDNNzf7dtanfCTvhwCaIYpqRwokCmHMRTHerrL+Pvw dV+vjZkWaR2RbWbIHuVkh7KVHkWXOhUYq/nuBOVGnPohp41bBr7ndbDdwTPR9AmLoqzm YtyM1RapXaVytwfy7Zkaz2WjLQd3oKznS03+JcPT0jH5KSBhQ7KwfpP0OvB5Vx6+xbQp gsFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aF9SCZOYOqwuCRWtDO+Kri8E5TpMnho7XD2CtgbqYc0=; b=UFUvdePw+eGp4CeO/jJU0Btm+ZaYXY2n/jkns5girJUCVkJcIR7ygHEJNfyKR5kolu 3X5LeIhdxa7cTec52VFRE4X/fAyAELkCucKEu0UCeEObMOD9bstrX/mTwMsUoZDVuPUI O9jRDqubJbFhoY7AnSpH2Zj70QcrrDfAA404zHsEXru2TQ+P2ecbFKEH8iN+rWQS1/ZE 6WI3Tr4WfP+adnI/5CCmPkv1rludvGS3R9CFFQRToxbRLR7gSYpOn7APk8M09T2v3XTn oaRhacXUQ5EtIxGOhPmoeeoKuJIDcT8/hSfJiRjPMshVEJyUUyeZWTbdanLM87Y3tS7P h5yw== X-Gm-Message-State: ACrzQf23tZI8P14VaWR1iR+EbGDjdOJGulwwELpr8KNvcXTCIH7E7fAr p0Wa6DFeGg8PuUvsF6XlVls= X-Received: by 2002:a17:903:1112:b0:178:a030:5f72 with SMTP id n18-20020a170903111200b00178a0305f72mr29324771plh.12.1667467638702; Thu, 03 Nov 2022 02:27:18 -0700 (PDT) Received: from ubuntu.localdomain ([118.73.150.53]) by smtp.gmail.com with ESMTPSA id s4-20020a170902ea0400b00186727e5f5csm82129plg.248.2022.11.03.02.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:27:17 -0700 (PDT) From: Donglin Peng To: peterz@infradead.org, acme@kernel.org, adrian.hunter@intel.com Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Donglin Peng Subject: [PATCH v2] perf tools: exclude the include/perf/ directory Date: Thu, 3 Nov 2022 02:27:04 -0700 Message-Id: <20221103092704.173391-1-dolinux.peng@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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. 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