Commit 79de6617 authored by Gabriele Monaco's avatar Gabriele Monaco Committed by Steven Rostedt (Google)
Browse files

rv: Adjust monitor dependencies

RV monitors relying on the preemptirqs tracepoints are set as dependent
on PREEMPT_TRACER and IRQSOFF_TRACER. In fact, those configurations do
enable the tracepoints but are not the minimal configurations enabling
them, which are TRACE_PREEMPT_TOGGLE and TRACE_IRQFLAGS (not selectable
manually).

Set TRACE_PREEMPT_TOGGLE and TRACE_IRQFLAGS as dependencies for
monitors.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.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>
Link: https://lore.kernel.org/20250728135022.255578-5-gmonaco@redhat.com


Fixes: fbe6c09b ("rv: Add scpd, snep and sncid per-cpu monitors")
Acked-by: default avatarNam Cao <namcao@linutronix.de>
Signed-off-by: default avatarGabriele Monaco <gmonaco@redhat.com>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 7f904ff6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#
config RV_MON_SCPD
	depends on RV
	depends on PREEMPT_TRACER
	depends on TRACE_PREEMPT_TOGGLE
	depends on RV_MON_SCHED
	default y
	select DA_MON_EVENTS_IMPLICIT
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#
config RV_MON_SNCID
	depends on RV
	depends on IRQSOFF_TRACER
	depends on TRACE_IRQFLAGS
	depends on RV_MON_SCHED
	default y
	select DA_MON_EVENTS_IMPLICIT
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#
config RV_MON_SNEP
	depends on RV
	depends on PREEMPT_TRACER
	depends on TRACE_PREEMPT_TOGGLE
	depends on RV_MON_SCHED
	default y
	select DA_MON_EVENTS_IMPLICIT
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
#
config RV_MON_WIP
	depends on RV
	depends on PREEMPT_TRACER
	depends on TRACE_PREEMPT_TOGGLE
	select DA_MON_EVENTS_IMPLICIT
	bool "wip monitor"
	help