rseq: Provide static branch for runtime debugging
authorThomas Gleixner <tglx@linutronix.de>
Mon, 27 Oct 2025 08:44:55 +0000 (09:44 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Nov 2025 07:32:49 +0000 (08:32 +0100)
commit9c37cb6e80b8fcdddc1236ba42ffd438f511192b
treec98cf8ed90da3c96fe0f86b5737dff126031ccfa
parent5412910487d0839111e4f2f3a6f33f6c9af9b007
rseq: Provide static branch for runtime debugging

Config based debug is rarely turned on and is not available easily when
things go wrong.

Provide a static branch to allow permanent integration of debug mechanisms
along with the usual toggles in Kconfig, command line and debugfs.

Requested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20251027084307.089270547@linutronix.de
Documentation/admin-guide/kernel-parameters.txt
include/linux/rseq_entry.h
init/Kconfig
kernel/rseq.c