Kconfig 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. config 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. Say Y here to enable System Trace Module device support.
  10. if STM
  11. config STM_PROTO_BASIC
  12. tristate "Basic STM framing protocol driver"
  13. default CONFIG_STM
  14. help
  15. This is a simple framing protocol for sending data over STM
  16. devices. This was the protocol that the STM framework used
  17. exclusively until the MIPI SyS-T support was added. Use this
  18. driver for compatibility with your existing STM setup.
  19. The receiving side only needs to be able to decode the MIPI
  20. STP protocol in order to extract the data.
  21. If you want to be able to use the basic protocol or want the
  22. backwards compatibility for your existing setup, say Y.
  23. config STM_PROTO_SYS_T
  24. tristate "MIPI SyS-T STM framing protocol driver"
  25. default CONFIG_STM
  26. help
  27. This is an implementation of MIPI SyS-T protocol to be used
  28. over the STP transport. In addition to the data payload, it
  29. also carries additional metadata for time correlation, better
  30. means of trace source identification, etc.
  31. The receiving side must be able to decode this protocol in
  32. addition to the MIPI STP, in order to extract the data.
  33. If you don't know what this is, say N.
  34. config STM_DUMMY
  35. tristate "Dummy STM driver"
  36. help
  37. This is a simple dummy device that pretends to be an stm device
  38. and discards your data. Use for stm class testing.
  39. If you don't know what this is, say N.
  40. config STM_SOURCE_CONSOLE
  41. tristate "Kernel console over STM devices"
  42. help
  43. This is a kernel space trace source that sends kernel log
  44. messages to trace hosts over STM devices.
  45. If you want to send kernel console messages over STM devices,
  46. say Y.
  47. config STM_SOURCE_HEARTBEAT
  48. tristate "Heartbeat over STM devices"
  49. help
  50. This is a kernel space trace source that sends periodic
  51. heartbeat messages to trace hosts over STM devices. It is
  52. also useful for testing stm class drivers and the stm class
  53. framework itself.
  54. If you want to send heartbeat messages over STM devices,
  55. say Y.
  56. config STM_SOURCE_FTRACE
  57. tristate "Copy the output from kernel Ftrace to STM engine"
  58. depends on FUNCTION_TRACER
  59. help
  60. This option can be used to copy the output from kernel Ftrace
  61. to STM engine. Enabling this option will introduce a slight
  62. timing effect.
  63. If you want to send kernel Ftrace messages over STM devices,
  64. say Y.
  65. endif