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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tomas Glozar <[email protected]> Cc: Juri Lelli <[email protected]> Cc: Clark Williams <[email protected]> Cc: John Kacur <[email protected]> Link: https://lore.kernel.org/[email protected] Fixes: fbe6c09 ("rv: Add scpd, snep and sncid per-cpu monitors") Acked-by: Nam Cao <[email protected]> Signed-off-by: Gabriele Monaco <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 7f904ff commit 79de661

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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)