summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2023-04-12 11:28:54 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:11 -0700
commit7b1798ec9836670d221dcc162dc18f8b64e959e5 (patch)
tree178ae2ae77fe86d9214270e99f907ae35dd82665 /tools/testing/selftests
parent0e4bc271110e0c58c010071a9bbf150f39851dac (diff)
downloadlinux-stable-7b1798ec9836670d221dcc162dc18f8b64e959e5.tar.gz
linux-stable-7b1798ec9836670d221dcc162dc18f8b64e959e5.tar.bz2
linux-stable-7b1798ec9836670d221dcc162dc18f8b64e959e5.zip
selftests: damon: add config file
Building and running the subsuite 'damon' of kselftest, shows the following issues: selftests: damon: debugfs_attrs.sh /sys/kernel/debug/damon not found By creating a config file enabling DAMON fragments in the selftests/damon/ directory the tests pass. Link: https://lkml.kernel.org/r/20230412092854.3306197-1-anders.roxell@linaro.org Fixes: b348eb7abd09 ("mm/damon: add user space selftests") Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Reviewed-by: SeongJae Park <sj@kernel.org> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/damon/config7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/damon/config b/tools/testing/selftests/damon/config
new file mode 100644
index 000000000000..0daf38974eb0
--- /dev/null
+++ b/tools/testing/selftests/damon/config
@@ -0,0 +1,7 @@
+CONFIG_DAMON=y
+CONFIG_DAMON_SYSFS=y
+CONFIG_DAMON_DBGFS=y
+CONFIG_DAMON_PADDR=y
+CONFIG_DAMON_VADDR=y
+CONFIG_DAMON_RECLAIM=y
+CONFIG_DAMON_LRU_SORT=y