xref: /openbmc/linux/drivers/hwtracing/stm/Kconfig (revision 98ddec80)
1config STM
2	tristate "System Trace Module devices"
3	select CONFIGFS_FS
4	select SRCU
5	help
6	  A System Trace Module (STM) is a device exporting data in System
7	  Trace Protocol (STP) format as defined by MIPI STP standards.
8	  Examples of such devices are Intel(R) Trace Hub and Coresight STM.
9
10	  Say Y here to enable System Trace Module device support.
11
12if STM
13
14config STM_DUMMY
15	tristate "Dummy STM driver"
16	help
17	  This is a simple dummy device that pretends to be an stm device
18	  and discards your data. Use for stm class testing.
19
20	  If you don't know what this is, say N.
21
22config STM_SOURCE_CONSOLE
23	tristate "Kernel console over STM devices"
24	help
25	  This is a kernel space trace source that sends kernel log
26	  messages to trace hosts over STM devices.
27
28	  If you want to send kernel console messages over STM devices,
29	  say Y.
30
31config STM_SOURCE_HEARTBEAT
32	tristate "Heartbeat over STM devices"
33	help
34	  This is a kernel space trace source that sends periodic
35	  heartbeat messages to trace hosts over STM devices. It is
36	  also useful for testing stm class drivers and the stm class
37	  framework itself.
38
39	  If you want to send heartbeat messages over STM devices,
40	  say Y.
41
42config STM_SOURCE_FTRACE
43	tristate "Copy the output from kernel Ftrace to STM engine"
44	depends on FUNCTION_TRACER
45	help
46	  This option can be used to copy the output from kernel Ftrace
47	  to STM engine. Enabling this option will introduce a slight
48	  timing effect.
49
50	  If you want to send kernel Ftrace messages over STM devices,
51	  say Y.
52
53endif
54