| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
config 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 |