[RFC PATCH 0/6] mm/damon: add kunit and selftests for probes and probe weights
SJ Park <[email protected]> Wed, 29 Jul 2026 07:47:31 -0700
| Newsgroups | dev.linux.lists.damon,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
DAMON recently introduced probes and probe weights. Add kunit and selftests for ensuring the parameters for features can be set using the core API and the sysfs ABI, respectively. SJ Park (6): mm/damon/tests/core-kunit: test damon_commit_filter() mm/damon/tests/core-kunit: add damon_commit_probes() test selftests/damon/_damon_sysfs: implement DamonProbes selftests/damon/drgn_dump_damon_status: dump probes selftests/damon/sysfs.py: extend commit assertion function for probes selftests/damon/sysfs.py: test damon probes mm/damon/tests/core-kunit.h | 121 +++++++++++++++++ tools/testing/selftests/damon/_damon_sysfs.py | 123 +++++++++++++++++- .../selftests/damon/drgn_dump_damon_status.py | 32 +++++ tools/testing/selftests/damon/sysfs.py | 35 ++++- 4 files changed, 309 insertions(+), 2 deletions(-) base-commit: 2f558ff382eed84b9ffde4dbd630a1fc4c57fab4 -- 2.47.3