menu "Testing drivers"

config XENO_DRIVERS_TESTING_LEGACY_NAMES
	depends on XENO_SKIN_RTDM
	bool "Use legacy names for testing drivers"
	help
	This lets the testing drivers register under legacy names
	("rttest<N>") instead of the new scheme ("rttest-<subclass><N>").
	Only enable this if you plan to use old userspace tools with the
	drivers.

config XENO_DRIVERS_TIMERBENCH
	depends on XENO_SKIN_RTDM
	tristate "Timer benchmark driver"
	default y
	help
	Kernel-based benchmark driver for timer latency evaluation.
	See testsuite/latency for a possible front-end.

config XENO_DRIVERS_KLATENCY
	depends on XENO_DRIVERS_TIMERBENCH && m
	tristate "Kernel-only latency measurement module"
	help
	Kernel module for kernel-only latency measurement.

config XENO_DRIVERS_IRQBENCH
	depends on XENO_SKIN_RTDM
	tristate "IRQ benchmark driver"
	help
	Loopback driver for IRQ latency evaluation over serial or parallel
	port links. Additionally requires user-space helper and a logging tool
	(see testsuite/irqbench).

config XENO_DRIVERS_SWITCHTEST
	depends on XENO_SKIN_RTDM
	tristate "Context switch unit testing driver"
	default y
	help
	Kernel-based driver for unit testing context switches and
	FPU switches.

config XENO_DRIVERS_SIGTEST
	depends on m
	tristate "User-space real-time signals testing module"
	help
	Elementary skin for unit testing user-space real-time signals.

config XENO_DRIVERS_RTDMTEST
	depends on XENO_SKIN_RTDM && m
	tristate "RTDM unit tests driver"
	help
	Kernel driver for performing RTDM unit tests.

endmenu
