2015-09-22 20:47:10 +08:00
|
|
|
config STM
|
|
|
|
tristate "System Trace Module devices"
|
2015-10-16 22:09:12 +08:00
|
|
|
select CONFIGFS_FS
|
2015-12-22 23:25:17 +08:00
|
|
|
select SRCU
|
2015-09-22 20:47:10 +08:00
|
|
|
help
|
|
|
|
A System Trace Module (STM) is a device exporting data in System
|
|
|
|
Trace Protocol (STP) format as defined by MIPI STP standards.
|
|
|
|
Examples of such devices are Intel(R) Trace Hub and Coresight STM.
|
|
|
|
|
|
|
|
Say Y here to enable System Trace Module device support.
|
2015-09-22 20:47:12 +08:00
|
|
|
|
2015-12-22 23:25:15 +08:00
|
|
|
if STM
|
|
|
|
|
2015-09-22 20:47:12 +08:00
|
|
|
config STM_DUMMY
|
|
|
|
tristate "Dummy STM driver"
|
|
|
|
help
|
|
|
|
This is a simple dummy device that pretends to be an stm device
|
|
|
|
and discards your data. Use for stm class testing.
|
|
|
|
|
|
|
|
If you don't know what this is, say N.
|
2015-09-22 20:47:13 +08:00
|
|
|
|
|
|
|
config STM_SOURCE_CONSOLE
|
|
|
|
tristate "Kernel console over STM devices"
|
|
|
|
help
|
|
|
|
This is a kernel space trace source that sends kernel log
|
|
|
|
messages to trace hosts over STM devices.
|
|
|
|
|
|
|
|
If you want to send kernel console messages over STM devices,
|
|
|
|
say Y.
|
2015-12-22 23:25:15 +08:00
|
|
|
|
2016-02-16 01:12:04 +08:00
|
|
|
config STM_SOURCE_HEARTBEAT
|
|
|
|
tristate "Heartbeat over STM devices"
|
|
|
|
help
|
|
|
|
This is a kernel space trace source that sends periodic
|
|
|
|
heartbeat messages to trace hosts over STM devices. It is
|
|
|
|
also useful for testing stm class drivers and the stm class
|
|
|
|
framework itself.
|
|
|
|
|
|
|
|
If you want to send heartbeat messages over STM devices,
|
|
|
|
say Y.
|
|
|
|
|
2016-11-21 15:57:19 +08:00
|
|
|
config STM_SOURCE_FTRACE
|
|
|
|
tristate "Copy the output from kernel Ftrace to STM engine"
|
|
|
|
depends on FUNCTION_TRACER
|
|
|
|
help
|
|
|
|
This option can be used to copy the output from kernel Ftrace
|
|
|
|
to STM engine. Enabling this option will introduce a slight
|
|
|
|
timing effect.
|
|
|
|
|
|
|
|
If you want to send kernel Ftrace messages over STM devices,
|
|
|
|
say Y.
|
|
|
|
|
2015-12-22 23:25:15 +08:00
|
|
|
endif
|