Skip to content

RFC mm/damon: add kunit and selftests for probes and probe weights

SJ Park damon linux-kselftest linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mm/damon/tests/core-kunit: test damon_commit_filter()mm/damon/tests/core-kunit.h+40 -01 reply
2/6mm/damon/tests/core-kunit: add damon_commit_probes() testmm/damon/tests/core-kunit.h+81 -01 reply
3/6selftests/damon/_damon_sysfs: implement DamonProbestools/testing/selftests/damon/_damon_sysfs.py+122 -11 reply
4/6selftests/damon/drgn_dump_damon_status: dump probestools/testing/selftests/damon/drgn_dump_damon_status.py+32 -00 replies
5/6selftests/damon/sysfs.py: extend commit assertion function for probestools/testing/selftests/damon/sysfs.py+19 -00 replies
6/6selftests/damon/sysfs.py: test damon probestools/testing/selftests/damon/sysfs.py+15 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/6] mm/damon: add kunit and selftests for probes and probe weights

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

Signature · 1 line
2.47.3