xref: /linux/kernel/trace/rv/Kconfig (revision 792575348ff70e05c6040d02fce38e949ef92c37)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3config DA_MON_EVENTS
4	bool
5
6config DA_MON_EVENTS_IMPLICIT
7	select DA_MON_EVENTS
8	bool
9
10config DA_MON_EVENTS_ID
11	select DA_MON_EVENTS
12	bool
13
14menuconfig RV
15	bool "Runtime Verification"
16	depends on TRACING
17	help
18	  Enable the kernel runtime verification infrastructure. RV is a
19	  lightweight (yet rigorous) method that complements classical
20	  exhaustive verification techniques (such as model checking and
21	  theorem proving). RV works by analyzing the trace of the system's
22	  actual execution, comparing it against a formal specification of
23	  the system behavior.
24
25config RV_REACTORS
26	bool "Runtime verification reactors"
27	default y
28	depends on RV
29	help
30	  Enables the online runtime verification reactors. A runtime
31	  monitor can cause a reaction to the detection of an exception
32	  on the model's execution. By default, the monitors have
33	  tracing reactions, printing the monitor output via tracepoints,
34	  but other reactions can be added (on-demand) via this interface.
35