xref: /linux/kernel/trace/rv/monitors/pagefault/Kconfig (revision 4ff261e725d7376c12e745fdbe8a33cd6dbd5a83)
1*9162620eSNam Cao# SPDX-License-Identifier: GPL-2.0-only
2*9162620eSNam Cao#
3*9162620eSNam Caoconfig RV_MON_PAGEFAULT
4*9162620eSNam Cao	depends on RV
5*9162620eSNam Cao	select RV_LTL_MONITOR
6*9162620eSNam Cao	depends on RV_MON_RTAPP
7*9162620eSNam Cao	depends on X86 || RISCV
8*9162620eSNam Cao	default y
9*9162620eSNam Cao	select LTL_MON_EVENTS_ID
10*9162620eSNam Cao	bool "pagefault monitor"
11*9162620eSNam Cao	help
12*9162620eSNam Cao	  Monitor that real-time tasks do not raise page faults, causing
13*9162620eSNam Cao	  undesirable latency.
14*9162620eSNam Cao
15*9162620eSNam Cao	  If you are developing a real-time system and not entirely sure whether
16*9162620eSNam Cao	  the applications are designed correctly for real-time, you want to say
17*9162620eSNam Cao	  Y here.
18*9162620eSNam Cao
19*9162620eSNam Cao	  This monitor does not affect execution speed while it is not running,
20*9162620eSNam Cao	  therefore it is safe to enable this in production kernel.
21