xref: /linux/kernel/trace/rv/monitors/opid/Kconfig (revision 395107a7c91aafef8eb8ffee574b43cc7cce34be)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3config RV_MON_OPID
4	depends on RV
5	depends on TRACE_IRQFLAGS
6	depends on TRACE_PREEMPT_TOGGLE
7	depends on RV_MON_SCHED
8	default y if PREEMPT_RT
9	select DA_MON_EVENTS_IMPLICIT
10	bool "opid monitor"
11	help
12	  Monitor to ensure operations like wakeup and need resched occur with
13	  interrupts and preemption disabled or during IRQs, where preemption
14	  may not be disabled explicitly.
15
16	  This monitor is unstable on !PREEMPT_RT, say N unless you are testing it.
17
18	  For further information, see:
19	    Documentation/trace/rv/monitor_sched.rst
20