From patchwork Thu Nov 3 09:27:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Donglin Peng X-Patchwork-Id: 14782 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp415186wru; Thu, 3 Nov 2022 02:29:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sfFFap7B6UcxjXE2oej7h7SBx+BVmE6LHjPSj/0UuWvELVHCocRdJ/B+HT02q5utmNrsl X-Received: by 2002:a05:6a00:15c3:b0:56d:4ae4:e1e7 with SMTP id o3-20020a056a0015c300b0056d4ae4e1e7mr22940499pfu.23.1667467796486; Thu, 03 Nov 2022 02:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667467796; cv=none; d=google.com; s=arc-20160816; b=jqU/7rzHI+vtUnVO5qJuDjgsLh5mTnqL+yXPIdwaZ+XzmATofFs7/oLHnjxsqveOnz ulkA6XVbkhQmz6ZE3GJvrW6FheTHmw8caYzzP2psflUMCbegECtth3HbqGTkwkCMRqVD Y/Z3YbGx+O99ylj94qEIhRtZAoGvbVol0DHttQaFCFdwVM51DQyZzXPh+T60xLDWiZno IndSRZDQcvmIGQp2FD8C917LCPua5R5c+Ui7Lckfzd4dr1T95NvjjS5JFILPV07NllYv UE6uZWciRZfPp6FBNdZku5dOVpucm9R3PrxT2OGF7jDdwpGpIx3lM9NhcbVIkgiYG21C LHbQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c22-20020a631c56000000b0046eda1d5784si526519pgm.462.2022.11.03.02.29.43; Thu, 03 Nov 2022 02:29:56 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748447192594784498?= X-GMAIL-MSGID: =?utf-8?q?1748466712299787571?= 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