Re: [PATCH V4 13/20] rv/reactor: Add the panic reactor

From: Randy Dunlap
Date: Thu Jun 16 2022 - 17:03:47 EST




On 6/16/22 01:44, Daniel Bristot de Oliveira wrote:
> diff --git a/kernel/trace/rv/Kconfig b/kernel/trace/rv/Kconfig
> index be8e3dab0a52..91a17b13a080 100644
> --- a/kernel/trace/rv/Kconfig
> +++ b/kernel/trace/rv/Kconfig
> @@ -60,4 +60,12 @@ config RV_REACT_PRINTK
> Enables the printk reactor. The printk reactor emmits a printk()

emits

> message if an exception is found.
>
> +config RV_REACT_PANIC
> + bool "Panic reactor"
> + depends on RV_REACTORS
> + default y if RV_REACTORS
> + help
> + Enables the panic reactor. The panic reactor emmits a printk()

emits

> + message if an exception is found and panic()s the system.

--
~Randy