[PATCH 3/6] .gitignore: also ignore gcda files

From: Johannes Berg
Date: Fri Mar 12 2021 - 04:56:35 EST


From: Johannes Berg <johannes.berg@xxxxxxxxx>

We already ignore gcno files that are created by the compiler
at build time for -ftest-coverage. However, with ARCH=um it's
possible to select CONFIG_GCOV which actually has the kernel
binary write out gcda files (rather than have them in debugfs
like CONFIG_GCOV_KERNEL does), so an in-tree build can create
them. Ignore them so the tree doesn't look dirty for that.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 3af66272d6f1..91e46190d418 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@
*.dwo
*.elf
*.gcno
+*.gcda
*.gz
*.i
*.ko
--
2.29.2