selftets/damon: prepare for monitor_on file renaming
authorSeongJae Park <sj@kernel.org>
Tue, 30 Jan 2024 01:35:45 +0000 (17:35 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 Feb 2024 18:24:46 +0000 (10:24 -0800)
commit8d1d3807d501de1467904eb40b0aa345668c3827
treeac18e7f49223696b385e5f434afaa3c979a29767
parentcf3810cc317c069259915770f4ed43d61eaf85bf
selftets/damon: prepare for monitor_on file renaming

Following change will rename 'monitor_on' DAMON debugfs file to
'monitor_on_DEPRECATED', to make the deprecation unignorable in runtime.
Since it could make DAMON selftests fail and disturb future bisects,
update DAMON selftests to support the change.

Link: https://lkml.kernel.org/r/20240130013549.89538-7-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Alex Shi <alexs@kernel.org>
Cc: Hu Haowen <2023002089@link.tyut.edu.cn>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Yanteng Si <siyanteng@loongson.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/damon/_chk_dependency.sh
tools/testing/selftests/damon/_debugfs_common.sh
tools/testing/selftests/damon/debugfs_empty_targets.sh