Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. config DA_MON_EVENTS
  4. bool
  5. config DA_MON_EVENTS_IMPLICIT
  6. select DA_MON_EVENTS
  7. bool
  8. config DA_MON_EVENTS_ID
  9. select DA_MON_EVENTS
  10. bool
  11. menuconfig RV
  12. bool "Runtime Verification"
  13. depends on TRACING
  14. help
  15. Enable the kernel runtime verification infrastructure. RV is a
  16. lightweight (yet rigorous) method that complements classical
  17. exhaustive verification techniques (such as model checking and
  18. theorem proving). RV works by analyzing the trace of the system's
  19. actual execution, comparing it against a formal specification of
  20. the system behavior.
  21. For further information, see:
  22. Documentation/trace/rv/runtime-verification.rst
  23. config RV_MON_WIP
  24. depends on RV
  25. depends on PREEMPT_TRACER
  26. select DA_MON_EVENTS_IMPLICIT
  27. bool "wip monitor"
  28. help
  29. Enable wip (wakeup in preemptive) sample monitor that illustrates
  30. the usage of per-cpu monitors, and one limitation of the
  31. preempt_disable/enable events.
  32. For further information, see:
  33. Documentation/trace/rv/monitor_wip.rst
  34. config RV_MON_WWNR
  35. depends on RV
  36. select DA_MON_EVENTS_ID
  37. bool "wwnr monitor"
  38. help
  39. Enable wwnr (wakeup while not running) sample monitor, this is a
  40. sample monitor that illustrates the usage of per-task monitor.
  41. The model is borken on purpose: it serves to test reactors.
  42. For further information, see:
  43. Documentation/trace/rv/monitor_wwnr.rst
  44. config RV_REACTORS
  45. bool "Runtime verification reactors"
  46. default y
  47. depends on RV
  48. help
  49. Enables the online runtime verification reactors. A runtime
  50. monitor can cause a reaction to the detection of an exception
  51. on the model's execution. By default, the monitors have
  52. tracing reactions, printing the monitor output via tracepoints,
  53. but other reactions can be added (on-demand) via this interface.
  54. config RV_REACT_PRINTK
  55. bool "Printk reactor"
  56. depends on RV_REACTORS
  57. default y
  58. help
  59. Enables the printk reactor. The printk reactor emits a printk()
  60. message if an exception is found.
  61. config RV_REACT_PANIC
  62. bool "Panic reactor"
  63. depends on RV_REACTORS
  64. default y
  65. help
  66. Enables the panic reactor. The panic reactor emits a printk()
  67. message if an exception is found and panic()s the system.