]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
perf tools: Add the include/perf/ directory to .gitignore
authorDonglin Peng <dolinux.peng@gmail.com>
Thu, 3 Nov 2022 09:27:04 +0000 (02:27 -0700)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Dec 2022 12:59:04 +0000 (13:59 +0100)
commit9aa82b6bb0162ebfd2a67670a0e8640c690b8c18
treef6114ae3eb1ee345a7f1cb7c47c1c8399594b2ab
parent3a9313115082b35b145bbdfb5f174b925c4719ae
perf tools: Add the include/perf/ directory to .gitignore

[ Upstream commit 94d957ae513fc420d0a5a9bac815eb49ffebb56f ]

Commit 3af1dfdd51e06697 ("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.

Testing:

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: 3af1dfdd51e06697 ("perf build: Move perf_dlfilters.h in the source tree")
Signed-off-by: Donglin Peng <dolinux.peng@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221103092704.173391-1-dolinux.peng@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 0bd20318da085d24ca8b5e9c71a8043dbdeee086)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
tools/perf/.gitignore