]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/damon/drgn_dump_damon_status: dump ctx->ops.id
authorSeongJae Park <sj@kernel.org>
Sun, 20 Jul 2025 17:16:40 +0000 (10:16 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 26 Jul 2025 22:08:18 +0000 (15:08 -0700)
commiteb413daaf222b1d545f6b46253f0ace97195ccd4
treef77771a6ed0e9d695b9ce836640159097f04a19f
parentc1a69589571270f70f1995d88e41b2e262ad05ab
selftests/damon/drgn_dump_damon_status: dump ctx->ops.id

drgn_dump_damon_status.py is a script for dumping DAMON internal status in
json format.  It is being used for seeing if DAMON parameters that are set
using _damon_sysfs.py are actually passed to DAMON in the kernel space.
It is, however, not dumping full DAMON internal status, and it makes
increasing test coverage difficult.  Add ctx->ops.id dumping for more
tests.

Link: https://lkml.kernel.org/r/20250720171652.92309-11-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/drgn_dump_damon_status.py