162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/enable_source 262306a36Sopenharmony_ciDate: April 2015 362306a36Sopenharmony_ciKernelVersion: 4.01 462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 562306a36Sopenharmony_ciDescription: (RW) Enable/disable tracing on this specific trace entiry. 662306a36Sopenharmony_ci Enabling a source implies the source has been configured 762306a36Sopenharmony_ci properly and a sink has been identidifed for it. The path 862306a36Sopenharmony_ci of coresight components linking the source to the sink is 962306a36Sopenharmony_ci configured and managed automatically by the coresight framework. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cpu 1262306a36Sopenharmony_ciDate: April 2015 1362306a36Sopenharmony_ciKernelVersion: 4.01 1462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 1562306a36Sopenharmony_ciDescription: (Read) The CPU this tracing entity is associated with. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_pe_cmp 1862306a36Sopenharmony_ciDate: April 2015 1962306a36Sopenharmony_ciKernelVersion: 4.01 2062306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 2162306a36Sopenharmony_ciDescription: (Read) Indicates the number of PE comparator inputs that are 2262306a36Sopenharmony_ci available for tracing. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_addr_cmp 2562306a36Sopenharmony_ciDate: April 2015 2662306a36Sopenharmony_ciKernelVersion: 4.01 2762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 2862306a36Sopenharmony_ciDescription: (Read) Indicates the number of address comparator pairs that are 2962306a36Sopenharmony_ci available for tracing. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_cntr 3262306a36Sopenharmony_ciDate: April 2015 3362306a36Sopenharmony_ciKernelVersion: 4.01 3462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 3562306a36Sopenharmony_ciDescription: (Read) Indicates the number of counters that are available for 3662306a36Sopenharmony_ci tracing. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_ext_inp 3962306a36Sopenharmony_ciDate: April 2015 4062306a36Sopenharmony_ciKernelVersion: 4.01 4162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 4262306a36Sopenharmony_ciDescription: (Read) Indicates how many external inputs are implemented. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/numcidc 4562306a36Sopenharmony_ciDate: April 2015 4662306a36Sopenharmony_ciKernelVersion: 4.01 4762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 4862306a36Sopenharmony_ciDescription: (Read) Indicates the number of Context ID comparators that are 4962306a36Sopenharmony_ci available for tracing. 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/numvmidc 5262306a36Sopenharmony_ciDate: April 2015 5362306a36Sopenharmony_ciKernelVersion: 4.01 5462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 5562306a36Sopenharmony_ciDescription: (Read) Indicates the number of VMID comparators that are available 5662306a36Sopenharmony_ci for tracing. 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nrseqstate 5962306a36Sopenharmony_ciDate: April 2015 6062306a36Sopenharmony_ciKernelVersion: 4.01 6162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 6262306a36Sopenharmony_ciDescription: (Read) Indicates the number of sequencer states that are 6362306a36Sopenharmony_ci implemented. 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_resource 6662306a36Sopenharmony_ciDate: April 2015 6762306a36Sopenharmony_ciKernelVersion: 4.01 6862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 6962306a36Sopenharmony_ciDescription: (Read) Indicates the number of resource selection pairs that are 7062306a36Sopenharmony_ci available for tracing. 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/nr_ss_cmp 7362306a36Sopenharmony_ciDate: April 2015 7462306a36Sopenharmony_ciKernelVersion: 4.01 7562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 7662306a36Sopenharmony_ciDescription: (Read) Indicates the number of single-shot comparator controls that 7762306a36Sopenharmony_ci are available for tracing. 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/reset 8062306a36Sopenharmony_ciDate: April 2015 8162306a36Sopenharmony_ciKernelVersion: 4.01 8262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 8362306a36Sopenharmony_ciDescription: (Write) Cancels all configuration on a trace unit and set it back 8462306a36Sopenharmony_ci to its boot configuration. 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mode 8762306a36Sopenharmony_ciDate: April 2015 8862306a36Sopenharmony_ciKernelVersion: 4.01 8962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 9062306a36Sopenharmony_ciDescription: (RW) Controls various modes supported by this ETM, for example 9162306a36Sopenharmony_ci P0 instruction tracing, branch broadcast, cycle counting and 9262306a36Sopenharmony_ci context ID tracing. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/pe 9562306a36Sopenharmony_ciDate: April 2015 9662306a36Sopenharmony_ciKernelVersion: 4.01 9762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 9862306a36Sopenharmony_ciDescription: (RW) Controls which PE to trace. 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/event 10162306a36Sopenharmony_ciDate: April 2015 10262306a36Sopenharmony_ciKernelVersion: 4.01 10362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 10462306a36Sopenharmony_ciDescription: (RW) Controls the tracing of arbitrary events from bank 0 to 3. 10562306a36Sopenharmony_ci 10662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/event_instren 10762306a36Sopenharmony_ciDate: April 2015 10862306a36Sopenharmony_ciKernelVersion: 4.01 10962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 11062306a36Sopenharmony_ciDescription: (RW) Controls the behavior of the events in bank 0 to 3. 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/event_ts 11362306a36Sopenharmony_ciDate: April 2015 11462306a36Sopenharmony_ciKernelVersion: 4.01 11562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 11662306a36Sopenharmony_ciDescription: (RW) Controls the insertion of global timestamps in the trace 11762306a36Sopenharmony_ci streams. 11862306a36Sopenharmony_ci 11962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/syncfreq 12062306a36Sopenharmony_ciDate: April 2015 12162306a36Sopenharmony_ciKernelVersion: 4.01 12262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 12362306a36Sopenharmony_ciDescription: (RW) Controls how often trace synchronization requests occur. 12462306a36Sopenharmony_ci 12562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cyc_threshold 12662306a36Sopenharmony_ciDate: April 2015 12762306a36Sopenharmony_ciKernelVersion: 4.01 12862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 12962306a36Sopenharmony_ciDescription: (RW) Sets the threshold value for cycle counting. 13062306a36Sopenharmony_ci 13162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/bb_ctrl 13262306a36Sopenharmony_ciDate: April 2015 13362306a36Sopenharmony_ciKernelVersion: 4.01 13462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 13562306a36Sopenharmony_ciDescription: (RW) Controls which regions in the memory map are enabled to 13662306a36Sopenharmony_ci use branch broadcasting. 13762306a36Sopenharmony_ci 13862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/event_vinst 13962306a36Sopenharmony_ciDate: April 2015 14062306a36Sopenharmony_ciKernelVersion: 4.01 14162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 14262306a36Sopenharmony_ciDescription: (RW) Controls instruction trace filtering. 14362306a36Sopenharmony_ci 14462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/s_exlevel_vinst 14562306a36Sopenharmony_ciDate: April 2015 14662306a36Sopenharmony_ciKernelVersion: 4.01 14762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 14862306a36Sopenharmony_ciDescription: (RW) In Secure state, each bit controls whether instruction 14962306a36Sopenharmony_ci tracing is enabled for the corresponding exception level. 15062306a36Sopenharmony_ci 15162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/ns_exlevel_vinst 15262306a36Sopenharmony_ciDate: April 2015 15362306a36Sopenharmony_ciKernelVersion: 4.01 15462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 15562306a36Sopenharmony_ciDescription: (RW) In non-secure state, each bit controls whether instruction 15662306a36Sopenharmony_ci tracing is enabled for the corresponding exception level. 15762306a36Sopenharmony_ci 15862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_idx 15962306a36Sopenharmony_ciDate: April 2015 16062306a36Sopenharmony_ciKernelVersion: 4.01 16162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 16262306a36Sopenharmony_ciDescription: (RW) Select which address comparator or pair (of comparators) to 16362306a36Sopenharmony_ci work with. 16462306a36Sopenharmony_ci 16562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_instdatatype 16662306a36Sopenharmony_ciDate: April 2015 16762306a36Sopenharmony_ciKernelVersion: 4.01 16862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 16962306a36Sopenharmony_ciDescription: (RW) Controls what type of comparison the trace unit performs. 17062306a36Sopenharmony_ci 17162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_single 17262306a36Sopenharmony_ciDate: April 2015 17362306a36Sopenharmony_ciKernelVersion: 4.01 17462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 17562306a36Sopenharmony_ciDescription: (RW) Used to setup single address comparator values. 17662306a36Sopenharmony_ci 17762306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_range 17862306a36Sopenharmony_ciDate: April 2015 17962306a36Sopenharmony_ciKernelVersion: 4.01 18062306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 18162306a36Sopenharmony_ciDescription: (RW) Used to setup address range comparator values. 18262306a36Sopenharmony_ci 18362306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/seq_idx 18462306a36Sopenharmony_ciDate: April 2015 18562306a36Sopenharmony_ciKernelVersion: 4.01 18662306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 18762306a36Sopenharmony_ciDescription: (RW) Select which sequensor. 18862306a36Sopenharmony_ci 18962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/seq_state 19062306a36Sopenharmony_ciDate: April 2015 19162306a36Sopenharmony_ciKernelVersion: 4.01 19262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 19362306a36Sopenharmony_ciDescription: (RW) Use this to set, or read, the sequencer state. 19462306a36Sopenharmony_ci 19562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/seq_event 19662306a36Sopenharmony_ciDate: April 2015 19762306a36Sopenharmony_ciKernelVersion: 4.01 19862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 19962306a36Sopenharmony_ciDescription: (RW) Moves the sequencer state to a specific state. 20062306a36Sopenharmony_ci 20162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/seq_reset_event 20262306a36Sopenharmony_ciDate: April 2015 20362306a36Sopenharmony_ciKernelVersion: 4.01 20462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 20562306a36Sopenharmony_ciDescription: (RW) Moves the sequencer to state 0 when a programmed event 20662306a36Sopenharmony_ci occurs. 20762306a36Sopenharmony_ci 20862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cntr_idx 20962306a36Sopenharmony_ciDate: April 2015 21062306a36Sopenharmony_ciKernelVersion: 4.01 21162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 21262306a36Sopenharmony_ciDescription: (RW) Select which counter unit to work with. 21362306a36Sopenharmony_ci 21462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cntrldvr 21562306a36Sopenharmony_ciDate: April 2015 21662306a36Sopenharmony_ciKernelVersion: 4.01 21762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 21862306a36Sopenharmony_ciDescription: (RW) This sets or returns the reload count value of the 21962306a36Sopenharmony_ci specific counter. 22062306a36Sopenharmony_ci 22162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cntr_val 22262306a36Sopenharmony_ciDate: April 2015 22362306a36Sopenharmony_ciKernelVersion: 4.01 22462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 22562306a36Sopenharmony_ciDescription: (RW) This sets or returns the current count value of the 22662306a36Sopenharmony_ci specific counter. 22762306a36Sopenharmony_ci 22862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/cntr_ctrl 22962306a36Sopenharmony_ciDate: April 2015 23062306a36Sopenharmony_ciKernelVersion: 4.01 23162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 23262306a36Sopenharmony_ciDescription: (RW) Controls the operation of the selected counter. 23362306a36Sopenharmony_ci 23462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/res_idx 23562306a36Sopenharmony_ciDate: April 2015 23662306a36Sopenharmony_ciKernelVersion: 4.01 23762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 23862306a36Sopenharmony_ciDescription: (RW) Select which resource selection unit to work with. 23962306a36Sopenharmony_ci 24062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/res_ctrl 24162306a36Sopenharmony_ciDate: April 2015 24262306a36Sopenharmony_ciKernelVersion: 4.01 24362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 24462306a36Sopenharmony_ciDescription: (RW) Controls the selection of the resources in the trace unit. 24562306a36Sopenharmony_ci 24662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/ctxid_idx 24762306a36Sopenharmony_ciDate: April 2015 24862306a36Sopenharmony_ciKernelVersion: 4.01 24962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 25062306a36Sopenharmony_ciDescription: (RW) Select which context ID comparator to work with. 25162306a36Sopenharmony_ci 25262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/ctxid_pid 25362306a36Sopenharmony_ciDate: April 2015 25462306a36Sopenharmony_ciKernelVersion: 4.01 25562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 25662306a36Sopenharmony_ciDescription: (RW) Get/Set the context ID comparator value to trigger on. 25762306a36Sopenharmony_ci 25862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/ctxid_masks 25962306a36Sopenharmony_ciDate: April 2015 26062306a36Sopenharmony_ciKernelVersion: 4.01 26162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 26262306a36Sopenharmony_ciDescription: (RW) Mask for all 8 context ID comparator value 26362306a36Sopenharmony_ci registers (if implemented). 26462306a36Sopenharmony_ci 26562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/vmid_idx 26662306a36Sopenharmony_ciDate: April 2015 26762306a36Sopenharmony_ciKernelVersion: 4.01 26862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 26962306a36Sopenharmony_ciDescription: (RW) Select which virtual machine ID comparator to work with. 27062306a36Sopenharmony_ci 27162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/vmid_val 27262306a36Sopenharmony_ciDate: April 2015 27362306a36Sopenharmony_ciKernelVersion: 4.01 27462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 27562306a36Sopenharmony_ciDescription: (RW) Get/Set the virtual machine ID comparator value to 27662306a36Sopenharmony_ci trigger on. 27762306a36Sopenharmony_ci 27862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/vmid_masks 27962306a36Sopenharmony_ciDate: April 2015 28062306a36Sopenharmony_ciKernelVersion: 4.01 28162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 28262306a36Sopenharmony_ciDescription: (RW) Mask for all 8 virtual machine ID comparator value 28362306a36Sopenharmony_ci registers (if implemented). 28462306a36Sopenharmony_ci 28562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_exlevel_s_ns 28662306a36Sopenharmony_ciDate: December 2019 28762306a36Sopenharmony_ciKernelVersion: 5.5 28862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 28962306a36Sopenharmony_ciDescription: (RW) Set the Exception Level matching bits for secure and 29062306a36Sopenharmony_ci non-secure exception levels. 29162306a36Sopenharmony_ci 29262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/vinst_pe_cmp_start_stop 29362306a36Sopenharmony_ciDate: December 2019 29462306a36Sopenharmony_ciKernelVersion: 5.5 29562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 29662306a36Sopenharmony_ciDescription: (RW) Access the start stop control register for PE input 29762306a36Sopenharmony_ci comparators. 29862306a36Sopenharmony_ci 29962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/addr_cmp_view 30062306a36Sopenharmony_ciDate: December 2019 30162306a36Sopenharmony_ciKernelVersion: 5.5 30262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 30362306a36Sopenharmony_ciDescription: (Read) Print the current settings for the selected address 30462306a36Sopenharmony_ci comparator. 30562306a36Sopenharmony_ci 30662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/sshot_idx 30762306a36Sopenharmony_ciDate: December 2019 30862306a36Sopenharmony_ciKernelVersion: 5.5 30962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 31062306a36Sopenharmony_ciDescription: (RW) Select the single shot control register to access. 31162306a36Sopenharmony_ci 31262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/sshot_ctrl 31362306a36Sopenharmony_ciDate: December 2019 31462306a36Sopenharmony_ciKernelVersion: 5.5 31562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 31662306a36Sopenharmony_ciDescription: (RW) Access the selected single shot control register. 31762306a36Sopenharmony_ci 31862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/sshot_status 31962306a36Sopenharmony_ciDate: December 2019 32062306a36Sopenharmony_ciKernelVersion: 5.5 32162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 32262306a36Sopenharmony_ciDescription: (Read) Print the current value of the selected single shot 32362306a36Sopenharmony_ci status register. 32462306a36Sopenharmony_ci 32562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/sshot_pe_ctrl 32662306a36Sopenharmony_ciDate: December 2019 32762306a36Sopenharmony_ciKernelVersion: 5.5 32862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 32962306a36Sopenharmony_ciDescription: (RW) Access the selected single show PE comparator control 33062306a36Sopenharmony_ci register. 33162306a36Sopenharmony_ci 33262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcoslsr 33362306a36Sopenharmony_ciDate: April 2015 33462306a36Sopenharmony_ciKernelVersion: 4.01 33562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 33662306a36Sopenharmony_ciDescription: (Read) Print the content of the OS Lock Status Register (0x304). 33762306a36Sopenharmony_ci The value it taken directly from the HW. 33862306a36Sopenharmony_ci 33962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdcr 34062306a36Sopenharmony_ciDate: April 2015 34162306a36Sopenharmony_ciKernelVersion: 4.01 34262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 34362306a36Sopenharmony_ciDescription: (Read) Print the content of the Power Down Control Register 34462306a36Sopenharmony_ci (0x310). The value is taken directly from the HW. 34562306a36Sopenharmony_ci 34662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpdsr 34762306a36Sopenharmony_ciDate: April 2015 34862306a36Sopenharmony_ciKernelVersion: 4.01 34962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 35062306a36Sopenharmony_ciDescription: (Read) Print the content of the Power Down Status Register 35162306a36Sopenharmony_ci (0x314). The value is taken directly from the HW. 35262306a36Sopenharmony_ci 35362306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trclsr 35462306a36Sopenharmony_ciDate: April 2015 35562306a36Sopenharmony_ciKernelVersion: 4.01 35662306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 35762306a36Sopenharmony_ciDescription: (Read) Print the content of the SW Lock Status Register 35862306a36Sopenharmony_ci (0xFB4). The value is taken directly from the HW. 35962306a36Sopenharmony_ci 36062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcauthstatus 36162306a36Sopenharmony_ciDate: April 2015 36262306a36Sopenharmony_ciKernelVersion: 4.01 36362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 36462306a36Sopenharmony_ciDescription: (Read) Print the content of the Authentication Status Register 36562306a36Sopenharmony_ci (0xFB8). The value is taken directly from the HW. 36662306a36Sopenharmony_ci 36762306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevid 36862306a36Sopenharmony_ciDate: April 2015 36962306a36Sopenharmony_ciKernelVersion: 4.01 37062306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 37162306a36Sopenharmony_ciDescription: (Read) Print the content of the Device ID Register 37262306a36Sopenharmony_ci (0xFC8). The value is taken directly from the HW. 37362306a36Sopenharmony_ci 37462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevarch 37562306a36Sopenharmony_ciDate: January 2021 37662306a36Sopenharmony_ciKernelVersion: 5.12 37762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 37862306a36Sopenharmony_ciDescription: (Read) Print the content of the Device Architecture Register 37962306a36Sopenharmony_ci (offset 0xFBC). The value is taken directly read 38062306a36Sopenharmony_ci from the HW. 38162306a36Sopenharmony_ci 38262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcdevtype 38362306a36Sopenharmony_ciDate: April 2015 38462306a36Sopenharmony_ciKernelVersion: 4.01 38562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 38662306a36Sopenharmony_ciDescription: (Read) Print the content of the Device Type Register 38762306a36Sopenharmony_ci (0xFCC). The value is taken directly from the HW. 38862306a36Sopenharmony_ci 38962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr0 39062306a36Sopenharmony_ciDate: April 2015 39162306a36Sopenharmony_ciKernelVersion: 4.01 39262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 39362306a36Sopenharmony_ciDescription: (Read) Print the content of the Peripheral ID0 Register 39462306a36Sopenharmony_ci (0xFE0). The value is taken directly from the HW. 39562306a36Sopenharmony_ci 39662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr1 39762306a36Sopenharmony_ciDate: April 2015 39862306a36Sopenharmony_ciKernelVersion: 4.01 39962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 40062306a36Sopenharmony_ciDescription: (Read) Print the content of the Peripheral ID1 Register 40162306a36Sopenharmony_ci (0xFE4). The value is taken directly from the HW. 40262306a36Sopenharmony_ci 40362306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr2 40462306a36Sopenharmony_ciDate: April 2015 40562306a36Sopenharmony_ciKernelVersion: 4.01 40662306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 40762306a36Sopenharmony_ciDescription: (Read) Print the content of the Peripheral ID2 Register 40862306a36Sopenharmony_ci (0xFE8). The value is taken directly from the HW. 40962306a36Sopenharmony_ci 41062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcpidr3 41162306a36Sopenharmony_ciDate: April 2015 41262306a36Sopenharmony_ciKernelVersion: 4.01 41362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 41462306a36Sopenharmony_ciDescription: (Read) Print the content of the Peripheral ID3 Register 41562306a36Sopenharmony_ci (0xFEC). The value is taken directly from the HW. 41662306a36Sopenharmony_ci 41762306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trcconfig 41862306a36Sopenharmony_ciDate: February 2016 41962306a36Sopenharmony_ciKernelVersion: 4.07 42062306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 42162306a36Sopenharmony_ciDescription: (Read) Print the content of the trace configuration register 42262306a36Sopenharmony_ci (0x010) as currently set by SW. 42362306a36Sopenharmony_ci 42462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/mgmt/trctraceid 42562306a36Sopenharmony_ciDate: February 2016 42662306a36Sopenharmony_ciKernelVersion: 4.07 42762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 42862306a36Sopenharmony_ciDescription: (Read) Print the content of the trace ID register (0x040). 42962306a36Sopenharmony_ci 43062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr0 43162306a36Sopenharmony_ciDate: April 2015 43262306a36Sopenharmony_ciKernelVersion: 4.01 43362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 43462306a36Sopenharmony_ciDescription: (Read) Returns the tracing capabilities of the trace unit (0x1E0). 43562306a36Sopenharmony_ci The value is taken directly from the HW. 43662306a36Sopenharmony_ci 43762306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr1 43862306a36Sopenharmony_ciDate: April 2015 43962306a36Sopenharmony_ciKernelVersion: 4.01 44062306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 44162306a36Sopenharmony_ciDescription: (Read) Returns the tracing capabilities of the trace unit (0x1E4). 44262306a36Sopenharmony_ci The value is taken directly from the HW. 44362306a36Sopenharmony_ci 44462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr2 44562306a36Sopenharmony_ciDate: April 2015 44662306a36Sopenharmony_ciKernelVersion: 4.01 44762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 44862306a36Sopenharmony_ciDescription: (Read) Returns the maximum size of the data value, data address, 44962306a36Sopenharmony_ci VMID, context ID and instruction address in the trace unit 45062306a36Sopenharmony_ci (0x1E8). The value is taken directly from the HW. 45162306a36Sopenharmony_ci 45262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr3 45362306a36Sopenharmony_ciDate: April 2015 45462306a36Sopenharmony_ciKernelVersion: 4.01 45562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 45662306a36Sopenharmony_ciDescription: (Read) Returns the value associated with various resources 45762306a36Sopenharmony_ci available to the trace unit. See the Trace Macrocell 45862306a36Sopenharmony_ci architecture specification for more details (0x1E8). 45962306a36Sopenharmony_ci The value is taken directly from the HW. 46062306a36Sopenharmony_ci 46162306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr4 46262306a36Sopenharmony_ciDate: April 2015 46362306a36Sopenharmony_ciKernelVersion: 4.01 46462306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 46562306a36Sopenharmony_ciDescription: (Read) Returns how many resources the trace unit supports (0x1F0). 46662306a36Sopenharmony_ci The value is taken directly from the HW. 46762306a36Sopenharmony_ci 46862306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr5 46962306a36Sopenharmony_ciDate: April 2015 47062306a36Sopenharmony_ciKernelVersion: 4.01 47162306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 47262306a36Sopenharmony_ciDescription: (Read) Returns how many resources the trace unit supports (0x1F4). 47362306a36Sopenharmony_ci The value is taken directly from the HW. 47462306a36Sopenharmony_ci 47562306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr8 47662306a36Sopenharmony_ciDate: April 2015 47762306a36Sopenharmony_ciKernelVersion: 4.01 47862306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 47962306a36Sopenharmony_ciDescription: (Read) Returns the maximum speculation depth of the instruction 48062306a36Sopenharmony_ci trace stream. (0x180). The value is taken directly from the HW. 48162306a36Sopenharmony_ci 48262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr9 48362306a36Sopenharmony_ciDate: April 2015 48462306a36Sopenharmony_ciKernelVersion: 4.01 48562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 48662306a36Sopenharmony_ciDescription: (Read) Returns the number of P0 right-hand keys that the trace unit 48762306a36Sopenharmony_ci can use (0x184). The value is taken directly from the HW. 48862306a36Sopenharmony_ci 48962306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr10 49062306a36Sopenharmony_ciDate: April 2015 49162306a36Sopenharmony_ciKernelVersion: 4.01 49262306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 49362306a36Sopenharmony_ciDescription: (Read) Returns the number of P1 right-hand keys that the trace unit 49462306a36Sopenharmony_ci can use (0x188). The value is taken directly from the HW. 49562306a36Sopenharmony_ci 49662306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr11 49762306a36Sopenharmony_ciDate: April 2015 49862306a36Sopenharmony_ciKernelVersion: 4.01 49962306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 50062306a36Sopenharmony_ciDescription: (Read) Returns the number of special P1 right-hand keys that the 50162306a36Sopenharmony_ci trace unit can use (0x18C). The value is taken directly from 50262306a36Sopenharmony_ci the HW. 50362306a36Sopenharmony_ci 50462306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr12 50562306a36Sopenharmony_ciDate: April 2015 50662306a36Sopenharmony_ciKernelVersion: 4.01 50762306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 50862306a36Sopenharmony_ciDescription: (Read) Returns the number of conditional P1 right-hand keys that 50962306a36Sopenharmony_ci the trace unit can use (0x190). The value is taken directly 51062306a36Sopenharmony_ci from the HW. 51162306a36Sopenharmony_ci 51262306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/trcidr/trcidr13 51362306a36Sopenharmony_ciDate: April 2015 51462306a36Sopenharmony_ciKernelVersion: 4.01 51562306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> 51662306a36Sopenharmony_ciDescription: (Read) Returns the number of special conditional P1 right-hand keys 51762306a36Sopenharmony_ci that the trace unit can use (0x194). The value is taken 51862306a36Sopenharmony_ci directly from the HW. 51962306a36Sopenharmony_ci 52062306a36Sopenharmony_ciWhat: /sys/bus/coresight/devices/etm<N>/ts_source 52162306a36Sopenharmony_ciDate: October 2022 52262306a36Sopenharmony_ciKernelVersion: 6.1 52362306a36Sopenharmony_ciContact: Mathieu Poirier <mathieu.poirier@linaro.org> or Suzuki K Poulose <suzuki.poulose@arm.com> 52462306a36Sopenharmony_ciDescription: (Read) When FEAT_TRF is implemented, value of TRFCR_ELx.TS used for 52562306a36Sopenharmony_ci trace session. Otherwise -1 indicates an unknown time source. Check 52662306a36Sopenharmony_ci trcidr0.tssize to see if a global timestamp is available. 527