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