On Thu, 18 Mar 2021 10:08:55 +0000 sj38.park@gmail.com wrote:
From: SeongJae Park <redacted>
This commit adds a simple user space tests for DAMON. The tests are
using kselftest framework.
Signed-off-by: SeongJae Park <redacted>
---
tools/testing/selftests/damon/Makefile | 7 +
.../selftests/damon/_chk_dependency.sh | 28 +++
tools/testing/selftests/damon/_chk_record.py | 109 ++++++++++++
.../testing/selftests/damon/debugfs_attrs.sh | 161 ++++++++++++++++++
.../testing/selftests/damon/debugfs_record.sh | 50 ++++++
Because the monitoring results 'recording' feature removed from this patchset,
related tests and files including '_chk_record.py' and 'debugfs_record.sh'
should be removed from this patch. Similarly, the related tests in kunit tests
also need to be removed. I will do so in the next version.
Thanks,
SeongJae Park