sysfs-bus-coresight-devices-etm4x 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. What: /sys/bus/coresight/devices/<memory_map>.etm/enable_source
  2. Date: April 2015
  3. KernelVersion: 4.01
  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/cpu
  11. Date: April 2015
  12. KernelVersion: 4.01
  13. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  14. Description: (R) The CPU this tracing entity is associated with.
  15. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_pe_cmp
  16. Date: April 2015
  17. KernelVersion: 4.01
  18. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  19. Description: (R) Indicates the number of PE comparator inputs that are
  20. available for tracing.
  21. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_addr_cmp
  22. Date: April 2015
  23. KernelVersion: 4.01
  24. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  25. Description: (R) Indicates the number of address comparator pairs that are
  26. available for tracing.
  27. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_cntr
  28. Date: April 2015
  29. KernelVersion: 4.01
  30. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  31. Description: (R) Indicates the number of counters that are available for
  32. tracing.
  33. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_ext_inp
  34. Date: April 2015
  35. KernelVersion: 4.01
  36. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  37. Description: (R) Indicates how many external inputs are implemented.
  38. What: /sys/bus/coresight/devices/<memory_map>.etm/numcidc
  39. Date: April 2015
  40. KernelVersion: 4.01
  41. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  42. Description: (R) Indicates the number of Context ID comparators that are
  43. available for tracing.
  44. What: /sys/bus/coresight/devices/<memory_map>.etm/numvmidc
  45. Date: April 2015
  46. KernelVersion: 4.01
  47. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  48. Description: (R) Indicates the number of VMID comparators that are available
  49. for tracing.
  50. What: /sys/bus/coresight/devices/<memory_map>.etm/nrseqstate
  51. Date: April 2015
  52. KernelVersion: 4.01
  53. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  54. Description: (R) Indicates the number of sequencer states that are
  55. implemented.
  56. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_resource
  57. Date: April 2015
  58. KernelVersion: 4.01
  59. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  60. Description: (R) Indicates the number of resource selection pairs that are
  61. available for tracing.
  62. What: /sys/bus/coresight/devices/<memory_map>.etm/nr_ss_cmp
  63. Date: April 2015
  64. KernelVersion: 4.01
  65. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  66. Description: (R) Indicates the number of single-shot comparator controls that
  67. are available for tracing.
  68. What: /sys/bus/coresight/devices/<memory_map>.etm/reset
  69. Date: April 2015
  70. KernelVersion: 4.01
  71. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  72. Description: (W) Cancels all configuration on a trace unit and set it back
  73. to its boot configuration.
  74. What: /sys/bus/coresight/devices/<memory_map>.etm/mode
  75. Date: April 2015
  76. KernelVersion: 4.01
  77. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  78. Description: (RW) Controls various modes supported by this ETM, for example
  79. P0 instruction tracing, branch broadcast, cycle counting and
  80. context ID tracing.
  81. What: /sys/bus/coresight/devices/<memory_map>.etm/pe
  82. Date: April 2015
  83. KernelVersion: 4.01
  84. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  85. Description: (RW) Controls which PE to trace.
  86. What: /sys/bus/coresight/devices/<memory_map>.etm/event
  87. Date: April 2015
  88. KernelVersion: 4.01
  89. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  90. Description: (RW) Controls the tracing of arbitrary events from bank 0 to 3.
  91. What: /sys/bus/coresight/devices/<memory_map>.etm/event_instren
  92. Date: April 2015
  93. KernelVersion: 4.01
  94. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  95. Description: (RW) Controls the behavior of the events in bank 0 to 3.
  96. What: /sys/bus/coresight/devices/<memory_map>.etm/event_ts
  97. Date: April 2015
  98. KernelVersion: 4.01
  99. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  100. Description: (RW) Controls the insertion of global timestamps in the trace
  101. streams.
  102. What: /sys/bus/coresight/devices/<memory_map>.etm/syncfreq
  103. Date: April 2015
  104. KernelVersion: 4.01
  105. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  106. Description: (RW) Controls how often trace synchronization requests occur.
  107. What: /sys/bus/coresight/devices/<memory_map>.etm/cyc_threshold
  108. Date: April 2015
  109. KernelVersion: 4.01
  110. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  111. Description: (RW) Sets the threshold value for cycle counting.
  112. What: /sys/bus/coresight/devices/<memory_map>.etm/bb_ctrl
  113. Date: April 2015
  114. KernelVersion: 4.01
  115. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  116. Description: (RW) Controls which regions in the memory map are enabled to
  117. use branch broadcasting.
  118. What: /sys/bus/coresight/devices/<memory_map>.etm/event_vinst
  119. Date: April 2015
  120. KernelVersion: 4.01
  121. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  122. Description: (RW) Controls instruction trace filtering.
  123. What: /sys/bus/coresight/devices/<memory_map>.etm/s_exlevel_vinst
  124. Date: April 2015
  125. KernelVersion: 4.01
  126. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  127. Description: (RW) In Secure state, each bit controls whether instruction
  128. tracing is enabled for the corresponding exception level.
  129. What: /sys/bus/coresight/devices/<memory_map>.etm/ns_exlevel_vinst
  130. Date: April 2015
  131. KernelVersion: 4.01
  132. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  133. Description: (RW) In non-secure state, each bit controls whether instruction
  134. tracing is enabled for the corresponding exception level.
  135. What: /sys/bus/coresight/devices/<memory_map>.etm/addr_idx
  136. Date: April 2015
  137. KernelVersion: 4.01
  138. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  139. Description: (RW) Select which address comparator or pair (of comparators) to
  140. work with.
  141. What: /sys/bus/coresight/devices/<memory_map>.etm/addr_instdatatype
  142. Date: April 2015
  143. KernelVersion: 4.01
  144. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  145. Description: (RW) Controls what type of comparison the trace unit performs.
  146. What: /sys/bus/coresight/devices/<memory_map>.etm/addr_single
  147. Date: April 2015
  148. KernelVersion: 4.01
  149. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  150. Description: (RW) Used to setup single address comparator values.
  151. What: /sys/bus/coresight/devices/<memory_map>.etm/addr_range
  152. Date: April 2015
  153. KernelVersion: 4.01
  154. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  155. Description: (RW) Used to setup address range comparator values.
  156. What: /sys/bus/coresight/devices/<memory_map>.etm/seq_idx
  157. Date: April 2015
  158. KernelVersion: 4.01
  159. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  160. Description: (RW) Select which sequensor.
  161. What: /sys/bus/coresight/devices/<memory_map>.etm/seq_state
  162. Date: April 2015
  163. KernelVersion: 4.01
  164. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  165. Description: (RW) Use this to set, or read, the sequencer state.
  166. What: /sys/bus/coresight/devices/<memory_map>.etm/seq_event
  167. Date: April 2015
  168. KernelVersion: 4.01
  169. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  170. Description: (RW) Moves the sequencer state to a specific state.
  171. What: /sys/bus/coresight/devices/<memory_map>.etm/seq_reset_event
  172. Date: April 2015
  173. KernelVersion: 4.01
  174. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  175. Description: (RW) Moves the sequencer to state 0 when a programmed event
  176. occurs.
  177. What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_idx
  178. Date: April 2015
  179. KernelVersion: 4.01
  180. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  181. Description: (RW) Select which counter unit to work with.
  182. What: /sys/bus/coresight/devices/<memory_map>.etm/cntrldvr
  183. Date: April 2015
  184. KernelVersion: 4.01
  185. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  186. Description: (RW) This sets or returns the reload count value of the
  187. specific counter.
  188. What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_val
  189. Date: April 2015
  190. KernelVersion: 4.01
  191. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  192. Description: (RW) This sets or returns the current count value of the
  193. specific counter.
  194. What: /sys/bus/coresight/devices/<memory_map>.etm/cntr_ctrl
  195. Date: April 2015
  196. KernelVersion: 4.01
  197. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  198. Description: (RW) Controls the operation of the selected counter.
  199. What: /sys/bus/coresight/devices/<memory_map>.etm/res_idx
  200. Date: April 2015
  201. KernelVersion: 4.01
  202. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  203. Description: (RW) Select which resource selection unit to work with.
  204. What: /sys/bus/coresight/devices/<memory_map>.etm/res_ctrl
  205. Date: April 2015
  206. KernelVersion: 4.01
  207. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  208. Description: (RW) Controls the selection of the resources in the trace unit.
  209. What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_idx
  210. Date: April 2015
  211. KernelVersion: 4.01
  212. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  213. Description: (RW) Select which context ID comparator to work with.
  214. What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_pid
  215. Date: April 2015
  216. KernelVersion: 4.01
  217. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  218. Description: (RW) Get/Set the context ID comparator value to trigger on.
  219. What: /sys/bus/coresight/devices/<memory_map>.etm/ctxid_masks
  220. Date: April 2015
  221. KernelVersion: 4.01
  222. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  223. Description: (RW) Mask for all 8 context ID comparator value
  224. registers (if implemented).
  225. What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_idx
  226. Date: April 2015
  227. KernelVersion: 4.01
  228. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  229. Description: (RW) Select which virtual machine ID comparator to work with.
  230. What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_val
  231. Date: April 2015
  232. KernelVersion: 4.01
  233. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  234. Description: (RW) Get/Set the virtual machine ID comparator value to
  235. trigger on.
  236. What: /sys/bus/coresight/devices/<memory_map>.etm/vmid_masks
  237. Date: April 2015
  238. KernelVersion: 4.01
  239. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  240. Description: (RW) Mask for all 8 virtual machine ID comparator value
  241. registers (if implemented).
  242. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcoslsr
  243. Date: April 2015
  244. KernelVersion: 4.01
  245. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  246. Description: (R) Print the content of the OS Lock Status Register (0x304).
  247. The value it taken directly from the HW.
  248. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpdcr
  249. Date: April 2015
  250. KernelVersion: 4.01
  251. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  252. Description: (R) Print the content of the Power Down Control Register
  253. (0x310). The value is taken directly from the HW.
  254. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpdsr
  255. Date: April 2015
  256. KernelVersion: 4.01
  257. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  258. Description: (R) Print the content of the Power Down Status Register
  259. (0x314). The value is taken directly from the HW.
  260. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trclsr
  261. Date: April 2015
  262. KernelVersion: 4.01
  263. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  264. Description: (R) Print the content of the SW Lock Status Register
  265. (0xFB4). The value is taken directly from the HW.
  266. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcauthstatus
  267. Date: April 2015
  268. KernelVersion: 4.01
  269. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  270. Description: (R) Print the content of the Authentication Status Register
  271. (0xFB8). The value is taken directly from the HW.
  272. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcdevid
  273. Date: April 2015
  274. KernelVersion: 4.01
  275. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  276. Description: (R) Print the content of the Device ID Register
  277. (0xFC8). The value is taken directly from the HW.
  278. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcdevtype
  279. Date: April 2015
  280. KernelVersion: 4.01
  281. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  282. Description: (R) Print the content of the Device Type Register
  283. (0xFCC). The value is taken directly from the HW.
  284. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr0
  285. Date: April 2015
  286. KernelVersion: 4.01
  287. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  288. Description: (R) Print the content of the Peripheral ID0 Register
  289. (0xFE0). The value is taken directly from the HW.
  290. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr1
  291. Date: April 2015
  292. KernelVersion: 4.01
  293. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  294. Description: (R) Print the content of the Peripheral ID1 Register
  295. (0xFE4). The value is taken directly from the HW.
  296. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr2
  297. Date: April 2015
  298. KernelVersion: 4.01
  299. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  300. Description: (R) Print the content of the Peripheral ID2 Register
  301. (0xFE8). The value is taken directly from the HW.
  302. What: /sys/bus/coresight/devices/<memory_map>.etm/mgmt/trcpidr3
  303. Date: April 2015
  304. KernelVersion: 4.01
  305. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  306. Description: (R) Print the content of the Peripheral ID3 Register
  307. (0xFEC). The value is taken directly from the HW.
  308. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr0
  309. Date: April 2015
  310. KernelVersion: 4.01
  311. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  312. Description: (R) Returns the tracing capabilities of the trace unit (0x1E0).
  313. The value is taken directly from the HW.
  314. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr1
  315. Date: April 2015
  316. KernelVersion: 4.01
  317. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  318. Description: (R) Returns the tracing capabilities of the trace unit (0x1E4).
  319. The value is taken directly from the HW.
  320. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr2
  321. Date: April 2015
  322. KernelVersion: 4.01
  323. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  324. Description: (R) Returns the maximum size of the data value, data address,
  325. VMID, context ID and instuction address in the trace unit
  326. (0x1E8). The value is taken directly from the HW.
  327. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr3
  328. Date: April 2015
  329. KernelVersion: 4.01
  330. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  331. Description: (R) Returns the value associated with various resources
  332. available to the trace unit. See the Trace Macrocell
  333. architecture specification for more details (0x1E8).
  334. The value is taken directly from the HW.
  335. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr4
  336. Date: April 2015
  337. KernelVersion: 4.01
  338. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  339. Description: (R) Returns how many resources the trace unit supports (0x1F0).
  340. The value is taken directly from the HW.
  341. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr5
  342. Date: April 2015
  343. KernelVersion: 4.01
  344. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  345. Description: (R) Returns how many resources the trace unit supports (0x1F4).
  346. The value is taken directly from the HW.
  347. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr8
  348. Date: April 2015
  349. KernelVersion: 4.01
  350. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  351. Description: (R) Returns the maximum speculation depth of the instruction
  352. trace stream. (0x180). The value is taken directly from the HW.
  353. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr9
  354. Date: April 2015
  355. KernelVersion: 4.01
  356. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  357. Description: (R) Returns the number of P0 right-hand keys that the trace unit
  358. can use (0x184). The value is taken directly from the HW.
  359. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr10
  360. Date: April 2015
  361. KernelVersion: 4.01
  362. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  363. Description: (R) Returns the number of P1 right-hand keys that the trace unit
  364. can use (0x188). The value is taken directly from the HW.
  365. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr11
  366. Date: April 2015
  367. KernelVersion: 4.01
  368. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  369. Description: (R) Returns the number of special P1 right-hand keys that the
  370. trace unit can use (0x18C). The value is taken directly from
  371. the HW.
  372. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr12
  373. Date: April 2015
  374. KernelVersion: 4.01
  375. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  376. Description: (R) Returns the number of conditional P1 right-hand keys that
  377. the trace unit can use (0x190). The value is taken directly
  378. from the HW.
  379. What: /sys/bus/coresight/devices/<memory_map>.etm/trcidr/trcidr13
  380. Date: April 2015
  381. KernelVersion: 4.01
  382. Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
  383. Description: (R) Returns the number of special conditional P1 right-hand keys
  384. that the trace unit can use (0x194). The value is taken
  385. directly from the HW.