12e1cdfe1SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/enable_source 22e1cdfe1SPratik PatelDate: April 2015 32e1cdfe1SPratik PatelKernelVersion: 4.01 42e1cdfe1SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 52e1cdfe1SPratik PatelDescription: (RW) Enable/disable tracing on this specific trace entiry. 62e1cdfe1SPratik Patel Enabling a source implies the source has been configured 72e1cdfe1SPratik Patel properly and a sink has been identidifed for it. The path 82e1cdfe1SPratik Patel of coresight components linking the source to the sink is 92e1cdfe1SPratik Patel configured and managed automatically by the coresight framework. 102e1cdfe1SPratik Patel 112e1cdfe1SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/cpu 122e1cdfe1SPratik PatelDate: April 2015 132e1cdfe1SPratik PatelKernelVersion: 4.01 142e1cdfe1SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 152e1cdfe1SPratik PatelDescription: (R) The CPU this tracing entity is associated with. 16c0ddbfeaSPratik Patel 17c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_pe_cmp 18c0ddbfeaSPratik PatelDate: April 2015 19c0ddbfeaSPratik PatelKernelVersion: 4.01 20c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 21c0ddbfeaSPratik PatelDescription: (R) Indicates the number of PE comparator inputs that are 22c0ddbfeaSPratik Patel available for tracing. 23c0ddbfeaSPratik Patel 24c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_addr_cmp 25c0ddbfeaSPratik PatelDate: April 2015 26c0ddbfeaSPratik PatelKernelVersion: 4.01 27c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 28c0ddbfeaSPratik PatelDescription: (R) Indicates the number of address comparator pairs that are 29c0ddbfeaSPratik Patel available for tracing. 30c0ddbfeaSPratik Patel 31c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_cntr 32c0ddbfeaSPratik PatelDate: April 2015 33c0ddbfeaSPratik PatelKernelVersion: 4.01 34c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 35c0ddbfeaSPratik PatelDescription: (R) Indicates the number of counters that are available for 36c0ddbfeaSPratik Patel tracing. 37c0ddbfeaSPratik Patel 38c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_ext_inp 39c0ddbfeaSPratik PatelDate: April 2015 40c0ddbfeaSPratik PatelKernelVersion: 4.01 41c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 42c0ddbfeaSPratik PatelDescription: (R) Indicates how many external inputs are implemented. 43c0ddbfeaSPratik Patel 44c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/numcidc 45c0ddbfeaSPratik PatelDate: April 2015 46c0ddbfeaSPratik PatelKernelVersion: 4.01 47c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 48c0ddbfeaSPratik PatelDescription: (R) Indicates the number of Context ID comparators that are 49c0ddbfeaSPratik Patel available for tracing. 50c0ddbfeaSPratik Patel 51c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/numvmidc 52c0ddbfeaSPratik PatelDate: April 2015 53c0ddbfeaSPratik PatelKernelVersion: 4.01 54c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 55c0ddbfeaSPratik PatelDescription: (R) Indicates the number of VMID comparators that are available 56c0ddbfeaSPratik Patel for tracing. 57c0ddbfeaSPratik Patel 58c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nrseqstate 59c0ddbfeaSPratik PatelDate: April 2015 60c0ddbfeaSPratik PatelKernelVersion: 4.01 61c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 62c0ddbfeaSPratik PatelDescription: (R) Indicates the number of sequencer states that are 63c0ddbfeaSPratik Patel implemented. 64c0ddbfeaSPratik Patel 65c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_resource 66c0ddbfeaSPratik PatelDate: April 2015 67c0ddbfeaSPratik PatelKernelVersion: 4.01 68c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 69c0ddbfeaSPratik PatelDescription: (R) Indicates the number of resource selection pairs that are 70c0ddbfeaSPratik Patel available for tracing. 71c0ddbfeaSPratik Patel 72c0ddbfeaSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/nr_ss_cmp 73c0ddbfeaSPratik PatelDate: April 2015 74c0ddbfeaSPratik PatelKernelVersion: 4.01 75c0ddbfeaSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 76c0ddbfeaSPratik PatelDescription: (R) Indicates the number of single-shot comparator controls that 77c0ddbfeaSPratik Patel are available for tracing. 78d8c66962SPratik Patel 79d8c66962SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/reset 80d8c66962SPratik PatelDate: April 2015 81d8c66962SPratik PatelKernelVersion: 4.01 82d8c66962SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 83d8c66962SPratik PatelDescription: (W) Cancels all configuration on a trace unit and set it back 84d8c66962SPratik Patel to its boot configuration. 85d8c66962SPratik Patel 86d8c66962SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/mode 87d8c66962SPratik PatelDate: April 2015 88d8c66962SPratik PatelKernelVersion: 4.01 89d8c66962SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 90d8c66962SPratik PatelDescription: (RW) Controls various modes supported by this ETM, for example 91d8c66962SPratik Patel P0 instruction tracing, branch broadcast, cycle counting and 92d8c66962SPratik Patel context ID tracing. 93d8c66962SPratik Patel 94d8c66962SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/pe 95d8c66962SPratik PatelDate: April 2015 96d8c66962SPratik PatelKernelVersion: 4.01 97d8c66962SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 98d8c66962SPratik PatelDescription: (RW) Controls which PE to trace. 99d8c66962SPratik Patel 100d8c66962SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/event 101d8c66962SPratik PatelDate: April 2015 102d8c66962SPratik PatelKernelVersion: 4.01 103d8c66962SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 104d8c66962SPratik PatelDescription: (RW) Controls the tracing of arbitrary events from bank 0 to 3. 105d8c66962SPratik Patel 106d8c66962SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/event_instren 107d8c66962SPratik PatelDate: April 2015 108d8c66962SPratik PatelKernelVersion: 4.01 109d8c66962SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 110d8c66962SPratik PatelDescription: (RW) Controls the behavior of the events in bank 0 to 3. 111b460daf8SPratik Patel 112b460daf8SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/event_ts 113b460daf8SPratik PatelDate: April 2015 114b460daf8SPratik PatelKernelVersion: 4.01 115b460daf8SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 116b460daf8SPratik PatelDescription: (RW) Controls the insertion of global timestamps in the trace 117b460daf8SPratik Patel streams. 118b460daf8SPratik Patel 119b460daf8SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/syncfreq 120b460daf8SPratik PatelDate: April 2015 121b460daf8SPratik PatelKernelVersion: 4.01 122b460daf8SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 123b460daf8SPratik PatelDescription: (RW) Controls how often trace synchronization requests occur. 124b460daf8SPratik Patel 125b460daf8SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/cyc_threshold 126b460daf8SPratik PatelDate: April 2015 127b460daf8SPratik PatelKernelVersion: 4.01 128b460daf8SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 129b460daf8SPratik PatelDescription: (RW) Sets the threshold value for cycle counting. 130b460daf8SPratik Patel 131b460daf8SPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/bb_ctrl 132b460daf8SPratik PatelDate: April 2015 133b460daf8SPratik PatelKernelVersion: 4.01 134b460daf8SPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 135b460daf8SPratik PatelDescription: (RW) Controls which regions in the memory map are enabled to 136b460daf8SPratik Patel use branch broadcasting. 137*43ba6a7bSPratik Patel 138*43ba6a7bSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/event_vinst 139*43ba6a7bSPratik PatelDate: April 2015 140*43ba6a7bSPratik PatelKernelVersion: 4.01 141*43ba6a7bSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 142*43ba6a7bSPratik PatelDescription: (RW) Controls instruction trace filtering. 143*43ba6a7bSPratik Patel 144*43ba6a7bSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/s_exlevel_vinst 145*43ba6a7bSPratik PatelDate: April 2015 146*43ba6a7bSPratik PatelKernelVersion: 4.01 147*43ba6a7bSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 148*43ba6a7bSPratik PatelDescription: (RW) In Secure state, each bit controls whether instruction 149*43ba6a7bSPratik Patel tracing is enabled for the corresponding exception level. 150*43ba6a7bSPratik Patel 151*43ba6a7bSPratik PatelWhat: /sys/bus/coresight/devices/<memory_map>.etm/ns_exlevel_vinst 152*43ba6a7bSPratik PatelDate: April 2015 153*43ba6a7bSPratik PatelKernelVersion: 4.01 154*43ba6a7bSPratik PatelContact: Mathieu Poirier <mathieu.poirier@linaro.org> 155*43ba6a7bSPratik PatelDescription: (RW) In non-secure state, each bit controls whether instruction 156*43ba6a7bSPratik Patel tracing is enabled for the corresponding exception level. 157