Skip to content

Commit 79de661

Browse files
glemcorostedt
authored andcommitted
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: fbe6c09 ("rv: Add scpd, snep and sncid per-cpu monitors") Acked-by: Nam Cao <namcao@linutronix.de> Signed-off-by: Gabriele Monaco <gmonaco@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent 7f904ff commit 79de661

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

kernel/trace/rv/monitors/scpd/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
config RV_MON_SCPD
44
depends on RV
5-
depends on PREEMPT_TRACER
5+
depends on TRACE_PREEMPT_TOGGLE
66
depends on RV_MON_SCHED
77
default y
88
select DA_MON_EVENTS_IMPLICIT

kernel/trace/rv/monitors/sncid/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
config RV_MON_SNCID
44
depends on RV
5-
depends on IRQSOFF_TRACER
5+
depends on TRACE_IRQFLAGS
66
depends on RV_MON_SCHED
77
default y
88
select DA_MON_EVENTS_IMPLICIT

kernel/trace/rv/monitors/snep/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
config RV_MON_SNEP
44
depends on RV
5-
depends on PREEMPT_TRACER
5+
depends on TRACE_PREEMPT_TOGGLE
66
depends on RV_MON_SCHED
77
default y
88
select DA_MON_EVENTS_IMPLICIT

kernel/trace/rv/monitors/wip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
config RV_MON_WIP
44
depends on RV
5-
depends on PREEMPT_TRACER
5+
depends on TRACE_PREEMPT_TOGGLE
66
select DA_MON_EVENTS_IMPLICIT
77
bool "wip monitor"
88
help

0 commit comments

Comments
 (0)