xref: /linux/kernel/trace/rv/monitors/pagefault/Kconfig (revision 3d62f95bd8450cebb4a4741bf83949cd54edd4a3)
19162620eSNam Cao# SPDX-License-Identifier: GPL-2.0-only
29162620eSNam Cao#
39162620eSNam Caoconfig RV_MON_PAGEFAULT
49162620eSNam Cao	depends on RV
59162620eSNam Cao	select RV_LTL_MONITOR
69162620eSNam Cao	depends on RV_MON_RTAPP
79162620eSNam Cao	depends on X86 || RISCV
8*3d62f95bSNam Cao	depends on MMU
99162620eSNam Cao	default y
109162620eSNam Cao	select LTL_MON_EVENTS_ID
119162620eSNam Cao	bool "pagefault monitor"
129162620eSNam Cao	help
139162620eSNam Cao	  Monitor that real-time tasks do not raise page faults, causing
149162620eSNam Cao	  undesirable latency.
159162620eSNam Cao
169162620eSNam Cao	  If you are developing a real-time system and not entirely sure whether
179162620eSNam Cao	  the applications are designed correctly for real-time, you want to say
189162620eSNam Cao	  Y here.
199162620eSNam Cao
209162620eSNam Cao	  This monitor does not affect execution speed while it is not running,
219162620eSNam Cao	  therefore it is safe to enable this in production kernel.
22