mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-04-13 09:59:31 +00:00
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: b348eb7abd
("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>
This commit is contained in:
parent
0e4bc27111
commit
7b1798ec98
1 changed files with 7 additions and 0 deletions
7
tools/testing/selftests/damon/config
Normal file
7
tools/testing/selftests/damon/config
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue