1*d0096c2fSGabriele Monaco# SPDX-License-Identifier: GPL-2.0-only 2*d0096c2fSGabriele Monaco# 3*d0096c2fSGabriele Monacoconfig RV_MON_STS 4*d0096c2fSGabriele Monaco depends on RV 5*d0096c2fSGabriele Monaco depends on TRACE_IRQFLAGS 6*d0096c2fSGabriele Monaco depends on RV_MON_SCHED 7*d0096c2fSGabriele Monaco default y 8*d0096c2fSGabriele Monaco select DA_MON_EVENTS_IMPLICIT 9*d0096c2fSGabriele Monaco bool "sts monitor" 10*d0096c2fSGabriele Monaco help 11*d0096c2fSGabriele Monaco Monitor to ensure relationships between scheduler and task switches 12*d0096c2fSGabriele Monaco * the scheduler is called and returns with interrupts disabled 13*d0096c2fSGabriele Monaco * each call to the scheduler has up to one switch 14*d0096c2fSGabriele Monaco * switches only happen inside the scheduler 15*d0096c2fSGabriele Monaco * each call to the scheduler disables interrupts to switch 16*d0096c2fSGabriele Monaco This monitor is part of the sched monitors collection. 17*d0096c2fSGabriele Monaco 18*d0096c2fSGabriele Monaco For further information, see: 19*d0096c2fSGabriele Monaco Documentation/trace/rv/monitor_sched.rst 20