xref: /linux/kernel/trace/rv/monitors/sleep/Kconfig (revision 55ee4b931a7ffedc886175d265dd6e6d08fd4151)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3config RV_MON_SLEEP
4	depends on RV
5	select RV_LTL_MONITOR
6	depends on HAVE_SYSCALL_TRACEPOINTS
7	depends on RV_MON_RTAPP
8	default y
9	select LTL_MON_EVENTS_ID
10	bool "sleep monitor"
11	help
12	  Monitor that real-time tasks do not sleep in a manner that may
13	  cause undesirable latency.
14
15	  If you are developing a real-time system and not entirely sure whether
16	  the applications are designed correctly for real-time, you want to say
17	  Y here.
18
19	  Enabling this monitor may have performance impact (due to select
20	  TRACE_IRQFLAGS). Therefore, you probably should say N for
21	  production kernel.
22