mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-14 06:22:34 +02:00
Add a monitor for checking that real-time tasks do not go to sleep in a manner that may cause undesirable latency. Also change RV depends on TRACING to RV select TRACING to avoid the following recursive dependency: error: recursive dependency detected! symbol TRACING is selected by PREEMPTIRQ_TRACEPOINTS symbol PREEMPTIRQ_TRACEPOINTS depends on TRACE_IRQFLAGS symbol TRACE_IRQFLAGS is selected by RV_MON_SLEEP symbol RV_MON_SLEEP depends on RV symbol RV depends on TRACING Cc: John Ogness <john.ogness@linutronix.de> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/75bc5bcc741d153aa279c95faf778dff35c5c8ad.1752088709.git.namcao@linutronix.de Reviewed-by: Gabriele Monaco <gmonaco@redhat.com> Signed-off-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
23 lines
658 B
Plaintext
23 lines
658 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
config RV_MON_SLEEP
|
|
depends on RV
|
|
select RV_LTL_MONITOR
|
|
depends on HAVE_SYSCALL_TRACEPOINTS
|
|
depends on RV_MON_RTAPP
|
|
select TRACE_IRQFLAGS
|
|
default y
|
|
select LTL_MON_EVENTS_ID
|
|
bool "sleep monitor"
|
|
help
|
|
Monitor that real-time tasks do not sleep in a manner that may
|
|
cause undesirable latency.
|
|
|
|
If you are developing a real-time system and not entirely sure whether
|
|
the applications are designed correctly for real-time, you want to say
|
|
Y here.
|
|
|
|
Enabling this monitor may have performance impact (due to select
|
|
TRACE_IRQFLAGS). Therefore, you probably should say N for
|
|
production kernel.
|