]> Gentwo Git Trees - linux/.git/commit
rv: Pass va_list to reactors
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 14 Oct 2025 05:51:56 +0000 (07:51 +0200)
committerGabriele Monaco <gmonaco@redhat.com>
Tue, 11 Nov 2025 12:18:55 +0000 (13:18 +0100)
commit4f739ed19d222de33b19ca639a34523fbbec20d0
tree80d2652b3c2dec558efc3ca018fc0a23a9ab527f
parent0c0cd931a037638ec49ae57c6100fcbb6a729bae
rv: Pass va_list to reactors

The only thing the reactors can do with the passed in varargs is to
convert it into a va_list. Do that in a central helper instead.
It simplifies the reactors, removes some hairy macro-generated code
and introduces a convenient hook point to modify reactor behavior.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20251014-rv-lockdep-v1-1-0b9e51919ea8@linutronix.de
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/linux/rv.h
include/rv/da_monitor.h
include/rv/ltl_monitor.h
kernel/trace/rv/reactor_panic.c
kernel/trace/rv/reactor_printk.c
kernel/trace/rv/rv_reactors.c