[PATCH] perf tools: exclude the include/perf/ directory

From: Donglin Peng
Date: Thu Nov 03 2022 - 00:03:48 EST


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@xxxxxxxxx>
---
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
--
2.25.1