mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 18:12:26 -04:00
Add 2 per-cpu monitors as part of the sched model:
* sco: scheduling context operations
Monitor to ensure sched_set_state happens only in thread context
* tss: task switch while scheduling
Monitor to ensure sched_switch happens only in scheduling context
To: Ingo Molnar <mingo@redhat.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: John Kacur <jkacur@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Link: https://lore.kernel.org/20250305140406.350227-4-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
15 lines
376 B
Plaintext
15 lines
376 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
config RV_MON_TSS
|
|
depends on RV
|
|
depends on RV_MON_SCHED
|
|
default y
|
|
select DA_MON_EVENTS_IMPLICIT
|
|
bool "tss monitor"
|
|
help
|
|
Monitor to ensure sched_switch happens only in scheduling context.
|
|
This monitor is part of the sched monitors collection.
|
|
|
|
For further information, see:
|
|
Documentation/trace/rv/monitor_sched.rst
|