sysfs-bus-coresight-devices-etm3x 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/enable_source
  2. Date: November 2014
  3. KernelVersion: 3.19
  4. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  5. Description: (RW) Enable/disable tracing on this specific trace entiry.
  6. Enabling a source implies the source has been configured
  7. properly and a sink has been identidifed for it. The path
  8. of coresight components linking the source to the sink is
  9. configured and managed automatically by the coresight framework.
  10. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_idx
  11. Date: November 2014
  12. KernelVersion: 3.19
  13. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  14. Description: Select which address comparator or pair (of comparators) to
  15. work with.
  16. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_acctype
  17. Date: November 2014
  18. KernelVersion: 3.19
  19. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  20. Description: (RW) Used in conjunction with @addr_idx. Specifies
  21. characteristics about the address comparator being configure,
  22. for example the access type, the kind of instruction to trace,
  23. processor contect ID to trigger on, etc. Individual fields in
  24. the access type register may vary on the version of the trace
  25. entity.
  26. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_range
  27. Date: November 2014
  28. KernelVersion: 3.19
  29. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  30. Description: (RW) Used in conjunction with @addr_idx. Specifies the range of
  31. addresses to trigger on. Inclusion or exclusion is specificed
  32. in the corresponding access type register.
  33. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_single
  34. Date: November 2014
  35. KernelVersion: 3.19
  36. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  37. Description: (RW) Used in conjunction with @addr_idx. Specifies the single
  38. address to trigger on, highly influenced by the configuration
  39. options of the corresponding access type register.
  40. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_start
  41. Date: November 2014
  42. KernelVersion: 3.19
  43. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  44. Description: (RW) Used in conjunction with @addr_idx. Specifies the single
  45. address to start tracing on, highly influenced by the
  46. configuration options of the corresponding access type register.
  47. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_stop
  48. Date: November 2014
  49. KernelVersion: 3.19
  50. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  51. Description: (RW) Used in conjunction with @addr_idx. Specifies the single
  52. address to stop tracing on, highly influenced by the
  53. configuration options of the corresponding access type register.
  54. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx
  55. Date: November 2014
  56. KernelVersion: 3.19
  57. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  58. Description: (RW) Specifies the counter to work on.
  59. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_event
  60. Date: November 2014
  61. KernelVersion: 3.19
  62. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  63. Description: (RW) Used in conjunction with cntr_idx, give access to the
  64. counter event register.
  65. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_val
  66. Date: November 2014
  67. KernelVersion: 3.19
  68. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  69. Description: (RW) Used in conjunction with cntr_idx, give access to the
  70. counter value register.
  71. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_rld_val
  72. Date: November 2014
  73. KernelVersion: 3.19
  74. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  75. Description: (RW) Used in conjunction with cntr_idx, give access to the
  76. counter reload value register.
  77. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_rld_event
  78. Date: November 2014
  79. KernelVersion: 3.19
  80. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  81. Description: (RW) Used in conjunction with cntr_idx, give access to the
  82. counter reload event register.
  83. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/ctxid_idx
  84. Date: November 2014
  85. KernelVersion: 3.19
  86. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  87. Description: (RW) Specifies the index of the context ID register to be
  88. selected.
  89. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/ctxid_mask
  90. Date: November 2014
  91. KernelVersion: 3.19
  92. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  93. Description: (RW) Mask to apply to all the context ID comparator.
  94. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/ctxid_pid
  95. Date: November 2014
  96. KernelVersion: 3.19
  97. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  98. Description: (RW) Used with the ctxid_idx, specify with context ID to trigger
  99. on.
  100. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/enable_event
  101. Date: November 2014
  102. KernelVersion: 3.19
  103. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  104. Description: (RW) Defines which event triggers a trace.
  105. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/etmsr
  106. Date: November 2014
  107. KernelVersion: 3.19
  108. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  109. Description: (RW) Gives access to the ETM status register, which holds
  110. programming information and status on certains events.
  111. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/fifofull_level
  112. Date: November 2014
  113. KernelVersion: 3.19
  114. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  115. Description: (RW) Number of byte left in the fifo before considering it full.
  116. Depending on the tracer's version, can also hold threshold for
  117. data suppression.
  118. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mode
  119. Date: November 2014
  120. KernelVersion: 3.19
  121. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  122. Description: (RW) Interface with the driver's 'mode' field, controlling
  123. various aspect of the trace entity such as time stamping,
  124. context ID size and cycle accurate tracing. Driver specific
  125. and bound to change depending on the driver.
  126. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/nr_addr_cmp
  127. Date: November 2014
  128. KernelVersion: 3.19
  129. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  130. Description: (R) Provides the number of address comparators pairs accessible
  131. on a trace unit, as specified by bit 3:0 of register ETMCCR.
  132. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/nr_cntr
  133. Date: November 2014
  134. KernelVersion: 3.19
  135. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  136. Description: (R) Provides the number of counters accessible on a trace unit,
  137. as specified by bit 15:13 of register ETMCCR.
  138. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/nr_ctxid_cmp
  139. Date: November 2014
  140. KernelVersion: 3.19
  141. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  142. Description: (R) Provides the number of context ID comparator available on a
  143. trace unit, as specified by bit 25:24 of register ETMCCR.
  144. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/reset
  145. Date: November 2014
  146. KernelVersion: 3.19
  147. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  148. Description: (W) Cancels all configuration on a trace unit and set it back
  149. to its boot configuration.
  150. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_12_event
  151. Date: November 2014
  152. KernelVersion: 3.19
  153. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  154. Description: (RW) Defines the event that causes the sequencer to transition
  155. from state 1 to state 2.
  156. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_13_event
  157. Date: November 2014
  158. KernelVersion: 3.19
  159. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  160. Description: (RW) Defines the event that causes the sequencer to transition
  161. from state 1 to state 3.
  162. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_21_event
  163. Date: November 2014
  164. KernelVersion: 3.19
  165. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  166. Description: (RW) Defines the event that causes the sequencer to transition
  167. from state 2 to state 1.
  168. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_23_event
  169. Date: November 2014
  170. KernelVersion: 3.19
  171. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  172. Description: (RW) Defines the event that causes the sequencer to transition
  173. from state 2 to state 3.
  174. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_31_event
  175. Date: November 2014
  176. KernelVersion: 3.19
  177. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  178. Description: (RW) Defines the event that causes the sequencer to transition
  179. from state 3 to state 1.
  180. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/seq_32_event
  181. Date: November 2014
  182. KernelVersion: 3.19
  183. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  184. Description: (RW) Defines the event that causes the sequencer to transition
  185. from state 3 to state 2.
  186. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/curr_seq_state
  187. Date: November 2014
  188. KernelVersion: 3.19
  189. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  190. Description: (R) Holds the current state of the sequencer.
  191. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/sync_freq
  192. Date: November 2014
  193. KernelVersion: 3.19
  194. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  195. Description: (RW) Holds the trace synchronization frequency value - must be
  196. programmed with the various implementation behavior in mind.
  197. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/timestamp_event
  198. Date: November 2014
  199. KernelVersion: 3.19
  200. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  201. Description: (RW) Defines an event that requests the insertion of a timestamp
  202. into the trace stream.
  203. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/traceid
  204. Date: November 2014
  205. KernelVersion: 3.19
  206. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  207. Description: (RW) Holds the trace ID that will appear in the trace stream
  208. coming from this trace entity.
  209. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/trigger_event
  210. Date: November 2014
  211. KernelVersion: 3.19
  212. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  213. Description: (RW) Define the event that controls the trigger.
  214. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cpu
  215. Date: October 2015
  216. KernelVersion: 4.4
  217. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  218. Description: (RO) Holds the cpu number this tracer is affined to.
  219. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmccr
  220. Date: September 2015
  221. KernelVersion: 4.4
  222. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  223. Description: (RO) Print the content of the ETM Configuration Code register
  224. (0x004). The value is read directly from the HW.
  225. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmccer
  226. Date: September 2015
  227. KernelVersion: 4.4
  228. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  229. Description: (RO) Print the content of the ETM Configuration Code Extension
  230. register (0x1e8). The value is read directly from the HW.
  231. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmscr
  232. Date: September 2015
  233. KernelVersion: 4.4
  234. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  235. Description: (RO) Print the content of the ETM System Configuration
  236. register (0x014). The value is read directly from the HW.
  237. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmidr
  238. Date: September 2015
  239. KernelVersion: 4.4
  240. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  241. Description: (RO) Print the content of the ETM ID register (0x1e4). The
  242. value is read directly from the HW.
  243. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmcr
  244. Date: September 2015
  245. KernelVersion: 4.4
  246. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  247. Description: (RO) Print the content of the ETM Main Control register (0x000).
  248. The value is read directly from the HW.
  249. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtraceidr
  250. Date: September 2015
  251. KernelVersion: 4.4
  252. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  253. Description: (RO) Print the content of the ETM Trace ID register (0x200).
  254. The value is read directly from the HW.
  255. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmteevr
  256. Date: September 2015
  257. KernelVersion: 4.4
  258. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  259. Description: (RO) Print the content of the ETM Trace Enable Event register
  260. (0x020). The value is read directly from the HW.
  261. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtsscr
  262. Date: September 2015
  263. KernelVersion: 4.4
  264. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  265. Description: (RO) Print the content of the ETM Trace Start/Stop Conrol
  266. register (0x018). The value is read directly from the HW.
  267. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtecr1
  268. Date: September 2015
  269. KernelVersion: 4.4
  270. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  271. Description: (RO) Print the content of the ETM Enable Conrol #1
  272. register (0x024). The value is read directly from the HW.
  273. What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/mgmt/etmtecr2
  274. Date: September 2015
  275. KernelVersion: 4.4
  276. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  277. Description: (RO) Print the content of the ETM Enable Conrol #2
  278. register (0x01c). The value is read directly from the HW.