Skip to content

Commit 94d957a

Browse files
dolinux-pengdlacmel
authored andcommitted
perf tools: Add the include/perf/ directory to .gitignore
Commit 3af1dfd ("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: 3af1dfd ("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>
1 parent 20ebc4a commit 94d957a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/perf/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PERF-GUI-VARS
44
PERF-VERSION-FILE
55
FEATURE-DUMP
66
perf
7+
!include/perf/
78
perf-read-vdso32
89
perf-read-vdsox32
910
perf-help

0 commit comments

Comments
 (0)