Message ID | 20221103040321.56233-1-dolinux.peng@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp309650wru; Wed, 2 Nov 2022 21:19:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5eV9sPr4++VN78i61gh6isDcSjkLcv3LTUwcOcLQiet9rBy2WzC1CaBX+hRWBlLM9s4Egu X-Received: by 2002:a17:906:eec7:b0:733:189f:b07a with SMTP id wu7-20020a170906eec700b00733189fb07amr27244798ejb.230.1667449181019; Wed, 02 Nov 2022 21:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667449181; cv=none; d=google.com; s=arc-20160816; b=mP54n2/yhKTs+ZLtZntUcPJrvU8WjNnsMgX+ZWMusZL2BNaVTn0ogwehnsmUhAsR32 wlT40+fuAbYGguvRF+KatSnSzcNh0JNpEVefAc+h6vJvTtxtfFkk5Pl22TxN3FK77FCj bmmv44O/4xtx6S25p8IpPzg9xNEeKwG24PHJsl8ndIaKWfxk2/pKy0zP9uby2gKmUpLq W2d0Nk4+frwrGkGyU64a7KwsON2LJWH69ybMapa5DFjG0eQYICD/iYjUFrtbcBUEdohB BViGkWh63ohkZ42fxq4ZUCLQZy4m3w17fMmc26NNgbCVGmymcKvCGPQWyxiwgNNXm4u8 FWgg== 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=1H2zzTzRPTmUgI0UyMApMa3/ZtTK/YRKX99EEtraxW0=; b=SMG21wu6UnVTKAomzYLJuVCoW8hwI2ZxTMOsluKYu/jWPFYJjbkGP30zY2AwchrCQy IXUc6HAqYT4gywF+sx/79oV9E/HCT5p40WeMnhDWaxh22kSqkq6GsvK9DQI4AZy2RfwJ rhKUs8seLoQBCXo/OlEW4HUw1dyui60xsEyNQy5FP3BNPnAfPPlrJ4JonMBzayXGUaO6 eK20N78Ki3U9xok/ZBGbUpijNTpc14Vt9xDX61GXPeItHMH+A4ON8HzIt+XQwbsuRpMg dnK1jzQDN1quXxR0uQaroXoPlfqSqItuFTo9gjpodTS73slK+LRWmP41FZwa0AGSqGcM rtjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Iks06j2h; 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 h7-20020a05640250c700b004643be8f919si668329edb.629.2022.11.02.21.19.17; Wed, 02 Nov 2022 21:19:41 -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=Iks06j2h; 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 S229551AbiKCEDp (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 00:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbiKCEDn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 00:03:43 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5569913E8A; Wed, 2 Nov 2022 21:03:42 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id p21so769062plr.7; Wed, 02 Nov 2022 21:03:42 -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=1H2zzTzRPTmUgI0UyMApMa3/ZtTK/YRKX99EEtraxW0=; b=Iks06j2hpnu7NyiHNXf+EYE54sE7V+2ljQ/+GqgpeM9Mfi5TPGHkWx7IrOr0LJo+vP ZgDPfRsBkKdzaDoyeZnaae3lvf2B5xE4A+r2Bz4MdpXWtuhWLfgVlXBzdvDJSwppxuda uLbSR/+3h6THx3WZ7YqIaEwumCrnoZrPjhZw7T7RqtStir3TBmwHCbQgjr252HETUukn vArPbrHBPHPqHhd8kFN0sfD2TiUENp9ZAF7hDi7cWO/yfluXZyFkjzh3NkjUjeRqmR9w sECI7/EKstRBqPjhCaOCO2XdQu935Kl2TiDLVz1Cr9qLxj2fqWo8CSzxLbuJ3KHHsjHh 1M3g== 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=1H2zzTzRPTmUgI0UyMApMa3/ZtTK/YRKX99EEtraxW0=; b=0U0LDYHagkapX/lfFg0/MpihFrfheGjHuZhtGS8u7sMSUAMCHf6WBJJ1FLgf79dfQW n8gnlNTSClpWreg3OtaEZLSA08D528+VAEug9cMbI6RbGs36j8TaR+BCWz8/zP7XHNus v/l5AQezkzAGw2btgNNky0CFcLfUAtRouenpSUVU2vUXzV4NEsHxycNBtVa9EmvzTbD0 TYBKnNu9ag9p7ic9Mlv65kDlfHf/aGYb/Vx0t2fINzuk1oHHJZ2yf3+YSqeM1SrPNCbS 5KcKROsIje+YiI4Seb5ikTwIDOTFuJVN7nUNNJO3sPe2mioOotFuRCQsOqri8q0zuZdQ pMJA== X-Gm-Message-State: ACrzQf2kQtj9+8jGHZtzqEt6PpHIGQ+BBkRbbIefksvLjZzSPnkf/UOX cowygOmhdEyLkC0cDHcyT94= X-Received: by 2002:a17:902:db12:b0:187:2596:8b0c with SMTP id m18-20020a170902db1200b0018725968b0cmr17755125plx.172.1667448221816; Wed, 02 Nov 2022 21:03:41 -0700 (PDT) Received: from ubuntu.localdomain ([118.73.150.53]) by smtp.gmail.com with ESMTPSA id qe15-20020a17090b4f8f00b0020d9c2f6c39sm2208742pjb.34.2022.11.02.21.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 21:03:41 -0700 (PDT) From: Donglin Peng <dolinux.peng@gmail.com> To: peterz@infradead.org Cc: adrian.hunter@intel.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Donglin Peng <dolinux.peng@gmail.com> Subject: [PATCH] perf tools: exclude the include/perf/ directory Date: Wed, 2 Nov 2022 21:03:21 -0700 Message-Id: <20221103040321.56233-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: <linux-kernel.vger.kernel.org> 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?1748447192594784498?= |
Series |
perf tools: exclude the include/perf/ directory
|
|
Commit Message
Donglin Peng
Nov. 3, 2022, 4:03 a.m. UTC
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.
Add !include/perf/ to perf's .gitignore file.
Signed-off-by: Donglin Peng <dolinux.peng@gmail.com>
---
tools/perf/.gitignore | 1 +
1 file changed, 1 insertion(+)
Comments
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 <dolinux.peng@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> > --- > 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
On Thu, Nov 3, 2022 at 3:08 PM Adrian Hunter <adrian.hunter@intel.com> wrote: > > 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 > Right. > 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 > Thanks,I will modify the commit log and send a v2. > > > > Add !include/perf/ to perf's .gitignore file. > > > > Signed-off-by: Donglin Peng <dolinux.peng@gmail.com> > > Acked-by: Adrian Hunter <adrian.hunter@intel.com> > > > --- > > 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 >
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