[PATCH] selftests/damon: ignore test-generated damon_dump_output

Zenghui Yu posted 1 patch 2 weeks, 3 days ago
tools/testing/selftests/damon/.gitignore | 1 +
1 file changed, 1 insertion(+)
[PATCH] selftests/damon: ignore test-generated damon_dump_output
Posted by Zenghui Yu 2 weeks, 3 days ago
From: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>

sysfs.py and sysfs_no_op_commit_break.py dump the DAMON status collected
via drgn_dump_damon_status.py into a damon_dump_output file in the working
directory.  Ignore it so that running the tests in-tree does not pollute
git status.

Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
---
 tools/testing/selftests/damon/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/damon/.gitignore b/tools/testing/selftests/damon/.gitignore
index 2f0297657c81..226bd7c4e072 100644
--- a/tools/testing/selftests/damon/.gitignore
+++ b/tools/testing/selftests/damon/.gitignore
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
 access_memory
 access_memory_even
+damon_dump_output
-- 
2.53.0
Re: [PATCH] selftests/damon: ignore test-generated damon_dump_output
Posted by SJ Park 2 weeks, 2 days ago
On Wed,  9 Sep 2026 00:27:16 +0800 Zenghui Yu <zenghui.yu@linux.dev> wrote:

> From: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
> 
> sysfs.py and sysfs_no_op_commit_break.py dump the DAMON status collected
> via drgn_dump_damon_status.py into a damon_dump_output file in the working
> directory.  Ignore it so that running the tests in-tree does not pollute
> git status.

Nice catch!  Thank you for finding and fixing this!

> 
> Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>

Reviewed-by: SJ Park <sj@kernel.org>

This patch is applied to damon/next [1] tree.  If this patch is not added to
mm.git in short term (~1 week?), I will ask mm.git maintainer (Andrew Morton)
to pick this.  So, no action from your side is needed for now.  If it seems I
also forgot doing that or you cannot wait for my action, please feel free to
directly ask that to Andrew.

[1] https://origin.kernel.org/doc/html/latest/mm/damon/maintainer-profile.html#scm-trees


Thanks,
SJ

[...]