linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] selftests: damon: add config file
@ 2023-02-21  7:08 Anders Roxell
  2023-02-21  7:08 ` [PATCH 2/2] selftests: damon: change scripts to be executable Anders Roxell
  2023-02-21 17:19 ` [PATCH 1/2] selftests: damon: add config file SeongJae Park
  0 siblings, 2 replies; 5+ messages in thread
From: Anders Roxell @ 2023-02-21  7:08 UTC (permalink / raw)
  To: sj, shuah
  Cc: linux-kernel, damon, linux-mm, linux-kselftest, Anders Roxell,
	Naresh Kamboju

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.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 tools/testing/selftests/damon/config | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 tools/testing/selftests/damon/config

diff --git a/tools/testing/selftests/damon/config b/tools/testing/selftests/damon/config
new file mode 100644
index 000000000000..a6b636e438b9
--- /dev/null
+++ b/tools/testing/selftests/damon/config
@@ -0,0 +1,8 @@
+CONFIG_DEBUG_SYSFS=y
+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
-- 
2.39.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-21 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21  7:08 [PATCH 1/2] selftests: damon: add config file Anders Roxell
2023-02-21  7:08 ` [PATCH 2/2] selftests: damon: change scripts to be executable Anders Roxell
2023-02-21 17:56   ` SeongJae Park
2023-02-21 17:19 ` [PATCH 1/2] selftests: damon: add config file SeongJae Park
2023-02-21 20:10   ` Anders Roxell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox