Re: [PATCH v25 12/13] mm/damon: Add user space selftests

From: sj38 . park
Date: Tue Mar 23 2021 - 04:21:14 EST


On Thu, 18 Mar 2021 10:08:55 +0000 sj38.park@xxxxxxxxx wrote:

> From: SeongJae Park <sjpark@xxxxxxxxx>
>
> This commit adds a simple user space tests for DAMON. The tests are
> using kselftest framework.
>
> Signed-off-by: SeongJae Park <sjpark@xxxxxxxxx>
> ---
> 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