xref: /linux/mm/damon/Kconfig (revision 17ccae8bb5c928946f6f3af14626ec458f74e6ad)
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
15*17ccae8bSSeongJae Parkconfig DAMON_KUNIT_TEST
16*17ccae8bSSeongJae Park	bool "Test for damon" if !KUNIT_ALL_TESTS
17*17ccae8bSSeongJae Park	depends on DAMON && KUNIT=y
18*17ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
19*17ccae8bSSeongJae Park	help
20*17ccae8bSSeongJae Park	  This builds the DAMON Kunit test suite.
21*17ccae8bSSeongJae Park
22*17ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
23*17ccae8bSSeongJae Park	  to the KUnit documentation.
24*17ccae8bSSeongJae Park
25*17ccae8bSSeongJae Park	  If unsure, say N.
26*17ccae8bSSeongJae 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
333f49584bSSeongJae Park	  that works for virtual address spaces.
343f49584bSSeongJae Park
35*17ccae8bSSeongJae Parkconfig DAMON_VADDR_KUNIT_TEST
36*17ccae8bSSeongJae Park	bool "Test for DAMON primitives" if !KUNIT_ALL_TESTS
37*17ccae8bSSeongJae Park	depends on DAMON_VADDR && KUNIT=y
38*17ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
39*17ccae8bSSeongJae Park	help
40*17ccae8bSSeongJae Park	  This builds the DAMON virtual addresses primitives Kunit test suite.
41*17ccae8bSSeongJae Park
42*17ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
43*17ccae8bSSeongJae Park	  to the KUnit documentation.
44*17ccae8bSSeongJae Park
45*17ccae8bSSeongJae Park	  If unsure, say N.
46*17ccae8bSSeongJae 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
56*17ccae8bSSeongJae Parkconfig DAMON_DBGFS_KUNIT_TEST
57*17ccae8bSSeongJae Park	bool "Test for damon debugfs interface" if !KUNIT_ALL_TESTS
58*17ccae8bSSeongJae Park	depends on DAMON_DBGFS && KUNIT=y
59*17ccae8bSSeongJae Park	default KUNIT_ALL_TESTS
60*17ccae8bSSeongJae Park	help
61*17ccae8bSSeongJae Park	  This builds the DAMON debugfs interface Kunit test suite.
62*17ccae8bSSeongJae Park
63*17ccae8bSSeongJae Park	  For more information on KUnit and unit tests in general, please refer
64*17ccae8bSSeongJae Park	  to the KUnit documentation.
65*17ccae8bSSeongJae Park
66*17ccae8bSSeongJae Park	  If unsure, say N.
67*17ccae8bSSeongJae Park
682224d848SSeongJae Parkendmenu
69