xref: /linux/kernel/trace/rv/monitors/sleep/Kconfig (revision 4ff261e725d7376c12e745fdbe8a33cd6dbd5a83)
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	select TRACE_IRQFLAGS
9	default y
10	select LTL_MON_EVENTS_ID
11	bool "sleep monitor"
12	help
13	  Monitor that real-time tasks do not sleep in a manner that may
14	  cause undesirable latency.
15
16	  If you are developing a real-time system and not entirely sure whether
17	  the applications are designed correctly for real-time, you want to say
18	  Y here.
19
20	  Enabling this monitor may have performance impact (due to select
21	  TRACE_IRQFLAGS). Therefore, you probably should say N for
22	  production kernel.
23