]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing: Remove TRACE_FLAG_IRQS_NOSUPPORT
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 22 Oct 2024 11:01:12 +0000 (13:01 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 1 Nov 2024 18:37:30 +0000 (14:37 -0400)
commite9f0a363473585a0f51b1b61a9bb15a63808d6ea
tree8ada35b7bd10e4ae4eb1dc27bc9e626b3fdbda32
parent77a1326f64c3245ae9d2f9297abec5c8a0f11f58
tracing: Remove TRACE_FLAG_IRQS_NOSUPPORT

It was possible to enable tracing with no IRQ tracing support. The
tracing infrastructure would then record TRACE_FLAG_IRQS_NOSUPPORT as
the only tracing flag and show an 'X' in the output.

The last user of this feature was PPC32 which managed to implement it
during PowerPC merge in 2009. Since then, it was unused and the PPC32
dependency was finally removed in commit 0ea5ee035133a ("tracing: Remove
PPC32 wart from config TRACING_SUPPORT").
Since the PowerPC merge the code behind !CONFIG_TRACE_IRQFLAGS_SUPPORT
with TRACING enabled can no longer be selected used and the 'X' is not
displayed or recorded.

Remove the CONFIG_TRACE_IRQFLAGS_SUPPORT from the tracing code. Remove
TRACE_FLAG_IRQS_NOSUPPORT.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20241022110112.XJI8I9T2@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Documentation/trace/ftrace.rst
include/linux/trace_events.h
kernel/trace/trace_output.c