xref: /linux/mm/damon/Kconfig (revision f24b0626076783d56ef41c6459fedf70ab6dcbd0)
12224d848SSeongJae Park# SPDX-License-Identifier: GPL-2.0-only
22224d848SSeongJae Park
32224d848SSeongJae Parkmenu "Data Access Monitoring"
42224d848SSeongJae Park
52224d848SSeongJae Parkconfig DAMON
62224d848SSeongJae Park	bool "DAMON: Data Access Monitoring Framework"
72224d848SSeongJae Park	help
82224d848SSeongJae Park	  This builds a framework that allows kernel subsystems to monitor
92224d848SSeongJae Park	  access frequency of each memory region. The information can be useful
102224d848SSeongJae Park	  for performance-centric DRAM level memory management.
112224d848SSeongJae Park
122224d848SSeongJae Park	  See https://damonitor.github.io/doc/html/latest-damon/index.html for
132224d848SSeongJae Park	  more information.
142224d848SSeongJae Park
1517ccae8bSSeongJae Parkconfig DAMON_KUNIT_TEST
1617ccae8bSSeongJae Park	bool "Test for damon" if !KUNIT_ALL_TESTS
1717ccae8bSSeongJae Park	depends on DAMON && KUNIT=y
1817ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
1917ccae8bSSeongJae Park	help
2017ccae8bSSeongJae Park	  This builds the DAMON Kunit test suite.
2117ccae8bSSeongJae Park
2217ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
2317ccae8bSSeongJae Park	  to the KUnit documentation.
2417ccae8bSSeongJae Park
2517ccae8bSSeongJae Park	  If unsure, say N.
2617ccae8bSSeongJae Park
273f49584bSSeongJae Parkconfig DAMON_VADDR
283f49584bSSeongJae Park	bool "Data access monitoring primitives for virtual address spaces"
293f49584bSSeongJae Park	depends on DAMON && MMU
303f49584bSSeongJae Park	select PAGE_IDLE_FLAG
313f49584bSSeongJae Park	help
323f49584bSSeongJae Park	  This builds the default data access monitoring primitives for DAMON
33*f24b0626SGeert Uytterhoeven	  that work for virtual address spaces.
343f49584bSSeongJae Park
3517ccae8bSSeongJae Parkconfig DAMON_VADDR_KUNIT_TEST
3617ccae8bSSeongJae Park	bool "Test for DAMON primitives" if !KUNIT_ALL_TESTS
3717ccae8bSSeongJae Park	depends on DAMON_VADDR && KUNIT=y
3817ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
3917ccae8bSSeongJae Park	help
4017ccae8bSSeongJae Park	  This builds the DAMON virtual addresses primitives Kunit test suite.
4117ccae8bSSeongJae Park
4217ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
4317ccae8bSSeongJae Park	  to the KUnit documentation.
4417ccae8bSSeongJae Park
4517ccae8bSSeongJae Park	  If unsure, say N.
4617ccae8bSSeongJae Park
474bc05954SSeongJae Parkconfig DAMON_DBGFS
484bc05954SSeongJae Park	bool "DAMON debugfs interface"
494bc05954SSeongJae Park	depends on DAMON_VADDR && DEBUG_FS
504bc05954SSeongJae Park	help
514bc05954SSeongJae Park	  This builds the debugfs interface for DAMON.  The user space admins
524bc05954SSeongJae Park	  can use the interface for arbitrary data access monitoring.
534bc05954SSeongJae Park
544bc05954SSeongJae Park	  If unsure, say N.
554bc05954SSeongJae Park
5617ccae8bSSeongJae Parkconfig DAMON_DBGFS_KUNIT_TEST
5717ccae8bSSeongJae Park	bool "Test for damon debugfs interface" if !KUNIT_ALL_TESTS
5817ccae8bSSeongJae Park	depends on DAMON_DBGFS && KUNIT=y
5917ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
6017ccae8bSSeongJae Park	help
6117ccae8bSSeongJae Park	  This builds the DAMON debugfs interface Kunit test suite.
6217ccae8bSSeongJae Park
6317ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
6417ccae8bSSeongJae Park	  to the KUnit documentation.
6517ccae8bSSeongJae Park
6617ccae8bSSeongJae Park	  If unsure, say N.
6717ccae8bSSeongJae Park
682224d848SSeongJae Parkendmenu
69