Commit 94d957ae authored by Donglin Peng's avatar Donglin Peng Committed by Arnaldo Carvalho de Melo

perf tools: Add the include/perf/ directory to .gitignore

Commit 3af1dfdd ("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: 3af1dfdd ("perf build: Move perf_dlfilters.h in the source tree")
Signed-off-by: default avatarDonglin Peng <dolinux.peng@gmail.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221103092704.173391-1-dolinux.peng@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 20ebc4a6
...@@ -4,6 +4,7 @@ PERF-GUI-VARS ...@@ -4,6 +4,7 @@ PERF-GUI-VARS
PERF-VERSION-FILE PERF-VERSION-FILE
FEATURE-DUMP FEATURE-DUMP
perf perf
!include/perf/
perf-read-vdso32 perf-read-vdso32
perf-read-vdsox32 perf-read-vdsox32
perf-help perf-help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment