mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
Add 2 per-task monitors as part of the sched model:
* nrp: need-resched preempts
Monitor to ensure preemption requires need resched.
* sssw: set state sleep and wakeup
Monitor to ensure sched_set_state to sleepable leads to sleeping and
sleeping tasks require wakeup.
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Tomas Glozar <tglozar@redhat.com>
Cc: Juri Lelli <jlelli@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/20250728135022.255578-9-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Acked-by: Nam Cao <namcao@linutronix.de>
Tested-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
17 lines
437 B
Plaintext
17 lines
437 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
config RV_MON_NRP
|
|
depends on RV
|
|
depends on RV_MON_SCHED
|
|
default y if !ARM64
|
|
select DA_MON_EVENTS_ID
|
|
bool "nrp monitor"
|
|
help
|
|
Monitor to ensure preemption requires need resched.
|
|
This monitor is part of the sched monitors collection.
|
|
|
|
This monitor is unstable on arm64, say N unless you are testing it.
|
|
|
|
For further information, see:
|
|
Documentation/trace/rv/monitor_sched.rst
|