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

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2021-03-12 09:56:34 
- List: linux-fsdevel
- Page: https://ratatoskr.run/linux-fsdevel/2021/03/201508
- Thread: https://ratatoskr.run/linux-um/2021/03/201509/t.md

```text
From: Johannes Berg <redacted>

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 <redacted>
---
 .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

```
