xref: /linux/drivers/hwtracing/stm/Kconfig (revision a02509f301c68c9a7f01d75d7d326f7a9b81a630)
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_PROTO_BASIC
15	tristate "Basic STM framing protocol driver"
16	default CONFIG_STM
17	help
18	  This is a simple framing protocol for sending data over STM
19	  devices. This was the protocol that the STM framework used
20	  exclusively until the MIPI SyS-T support was added. Use this
21	  driver for compatibility with your existing STM setup.
22
23	  The receiving side only needs to be able to decode the MIPI
24	  STP protocol in order to extract the data.
25
26	  If you want to be able to use the basic protocol or want the
27	  backwards compatibility for your existing setup, say Y.
28
29config STM_DUMMY
30	tristate "Dummy STM driver"
31	help
32	  This is a simple dummy device that pretends to be an stm device
33	  and discards your data. Use for stm class testing.
34
35	  If you don't know what this is, say N.
36
37config STM_SOURCE_CONSOLE
38	tristate "Kernel console over STM devices"
39	help
40	  This is a kernel space trace source that sends kernel log
41	  messages to trace hosts over STM devices.
42
43	  If you want to send kernel console messages over STM devices,
44	  say Y.
45
46config STM_SOURCE_HEARTBEAT
47	tristate "Heartbeat over STM devices"
48	help
49	  This is a kernel space trace source that sends periodic
50	  heartbeat messages to trace hosts over STM devices. It is
51	  also useful for testing stm class drivers and the stm class
52	  framework itself.
53
54	  If you want to send heartbeat messages over STM devices,
55	  say Y.
56
57config STM_SOURCE_FTRACE
58	tristate "Copy the output from kernel Ftrace to STM engine"
59	depends on FUNCTION_TRACER
60	help
61	  This option can be used to copy the output from kernel Ftrace
62	  to STM engine. Enabling this option will introduce a slight
63	  timing effect.
64
65	  If you want to send kernel Ftrace messages over STM devices,
66	  say Y.
67
68endif
69