config FUSIONOS_KSTACK_MONITOR
	bool "Kernel Stack Monitor"
	depends on HAVE_HW_BREAKPOINT && KPROBES && FPROBE && STACKTRACE
	help
	  A lightweight real-time debugging tool to detect stack corruption
	  and abnormal stack usage patterns in the kernel. It monitors stack
	  boundaries and detects overwrites in real time using hardware
	  breakpoints and probe-based instrumentation.

	  This feature is intended for kernel developers or advanced users
	  diagnosing rare stack overflow or memory corruption bugs. It may
	  introduce minor overhead during runtime monitoring.

	  If unsure, say N.

config FUSIONOS_KSTACK_PROFILING
	bool "KStackMonitor profiling"
	depends on FUSIONOS_KSTACK_MONITOR
	help
	  Measure probe latency and overhead in KStackMonitor. It records
	  entry/exit probe times (ns and cycles) and shows statistics when
	  stopping. Useful for performance tuning, not for production use.

	  If unsure, say N.