summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDonglin Peng <dolinux.peng@gmail.com>2022-11-03 10:27:04 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-11-08 22:54:41 +0100
commit94d957ae513fc420d0a5a9bac815eb49ffebb56f (patch)
tree467d21c954bdea3c18ffddfd22b39affd6717446 /tools
parentperf test: Fix skipping branch stack sampling test (diff)
downloadlinux-94d957ae513fc420d0a5a9bac815eb49ffebb56f.tar.xz
linux-94d957ae513fc420d0a5a9bac815eb49ffebb56f.zip
perf tools: Add the include/perf/ directory to .gitignore
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/.gitignore1
1 files changed, 1 insertions, 0 deletions
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