/linux/drivers/hwtracing/coresight/ |
H A D | Makefile | 3 # Makefile for CoreSight drivers. 27 obj-$(CONFIG_CORESIGHT) += coresight.o 28 coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \ 29 coresight-sysfs.o coresight-syscfg.o coresight-config.o \ 30 coresight-cfg-preload.o coresight-cfg-afdo.o coresight-cfg-pstop.o \ 31 coresight-syscfg-configfs.o coresight-trace-id.o 32 obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o 33 coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \ 34 coresight-tmc-etr.o 35 obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o [all …]
|
H A D | Kconfig | 3 # Coresight configuration 5 menuconfig CORESIGHT config 6 tristate "CoreSight Tracing Support" 13 This framework provides a kernel interface for the CoreSight debug 15 a topological view of the CoreSight components based on a DT 20 module will be called coresight. 22 if CORESIGHT 24 tristate "CoreSight Link and Sink drivers" 26 This enables support for CoreSight link and sink drivers that are 32 modules will be called coresight-funnel and coresight-replicator. [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-cti | 1 What: /sys/bus/coresight/devices/<cti-name>/enable 7 What: /sys/bus/coresight/devices/<cti-name>/powered 13 What: /sys/bus/coresight/devices/<cti-name>/ctmid 19 What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons 25 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name 31 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals 37 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types 44 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals 50 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types 57 What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel [all …]
|
H A D | sysfs-bus-coresight-devices-tmc | 1 What: /sys/bus/coresight/devices/<memory_map>.tmc/trigger_cntr 10 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz 17 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts 24 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp 33 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp 39 the CoreSight bus into the Trace RAM. The value is read directly 42 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/trg 49 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ctl 56 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffsr 64 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffcr [all …]
|
H A D | sysfs-bus-coresight-devices-etb10 | 1 What: /sys/bus/coresight/devices/<memory_map>.etb/enable_sink 10 echo 1 > /sys/bus/coresight/devices/20010000.etb/enable_sink 12 What: /sys/bus/coresight/devices/<memory_map>.etb/trigger_cntr 22 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rdp 29 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/sts 36 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rrp 45 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/rwp 51 the CoreSight bus into the Trace RAM. The value is read directly 54 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/trg 61 What: /sys/bus/coresight/devices/<memory_map>.etb/mgmt/ctl [all …]
|
H A D | sysfs-bus-coresight-devices-stm | 1 What: /sys/bus/coresight/devices/<memory_map>.stm/enable_source 8 of coresight components linking the source to the sink is 9 configured and managed automatically by the coresight framework. 11 What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_enable 18 What: /sys/bus/coresight/devices/<memory_map>.stm/hwevent_select 26 What: /sys/bus/coresight/devices/<memory_map>.stm/port_enable 34 What: /sys/bus/coresight/devices/<memory_map>.stm/port_select 41 What: /sys/bus/coresight/devices/<memory_map>.stm/status 48 What: /sys/bus/coresight/devices/<memory_map>.stm/traceid
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | arm,coresight-dummy-source.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-dummy-source.yaml# 7 title: ARM Coresight Dummy source component 10 CoreSight components are compliant with the ARM CoreSight architecture 17 The Coresight dummy source component is for the specific coresight source 19 there would be Coresight source trace components on sub-processor which 21 is needed to register them as Coresight source devices, so that paths can be 22 created in the driver. It provides Coresight API for operations on dummy 24 Coresight dummy source paths for debugging. 26 The primary use case of the coresight dummy source is to build path in kernel 39 - arm,coresight-dummy-source [all …]
|
H A D | arm,coresight-etm.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-etm.yaml# 7 title: Arm CoreSight Embedded Trace MacroCell 16 CoreSight components are compliant with the ARM CoreSight architecture 31 - arm,coresight-etm3x 32 - arm,coresight-etm4x 33 - arm,coresight-etm4x-sysreg 43 const: arm,coresight-etm4x-sysreg 56 - arm,coresight-etm3x 57 - arm,coresight-etm4x 61 const: arm,coresight-etm4x-sysreg [all …]
|
H A D | arm,coresight-cti.yaml | 5 $id: http://devicetree.org/schemas/arm/arm,coresight-cti.yaml# 8 title: ARM Coresight Cross Trigger Interface (CTI) device. 11 The CoreSight Embedded Cross Trigger (ECT) consists of CTI devices connected 12 to one or more CoreSight components and/or a CPU, with CTIs interconnected in 15 not part of the CoreSight graph. 37 indicate this feature (arm,coresight-cti-v8-arch). 48 between CTI and other CoreSight components. 50 Certain triggers between CoreSight devices and the CTI have specific types 52 constants defined in <dt-bindings/arm/coresight-cti-dt.h> 59 Note that some hardware trigger signals can be connected to non-CoreSight [all …]
|
H A D | qcom,coresight-tpda.yaml | 5 $id: http://devicetree.org/schemas/arm/qcom,coresight-tpda.yaml# 23 Enable coresight sink first. 25 echo 1 > /sys/bus/coresight/devices/tmc_etf0/enable_sink 26 echo 1 > /sys/bus/coresight/devices/tpdm0/enable_source 27 echo 1 > /sys/bus/coresight/devices/tpdm0/integration_test 28 echo 2 > /sys/bus/coresight/devices/tpdm0/integration_test 30 The test data will be collected in the coresight sink which is enabled. 45 - qcom,coresight-tpda 54 - const: qcom,coresight-tpda 74 Output connections from the TPDA to legacy CoreSight trace bus. [all …]
|
H A D | arm,coresight-etb10.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-etb10.yaml# 7 title: Arm CoreSight Embedded Trace Buffer 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The CoreSight Embedded Trace Buffer stores traces in a dedicated SRAM that is 31 const: arm,coresight-etb10 41 - const: arm,coresight-etb10 66 description: Input connection from CoreSight Trace bus. 81 compatible = "arm,coresight-etb10", "arm,primecell";
|
H A D | arm,coresight-tpiu.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-tpiu.yaml# 7 title: Arm CoreSight Trace Port Interface Unit 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The CoreSight Trace Port Interface Unit captures trace data from the trace bus 31 const: arm,coresight-tpiu 41 - const: arm,coresight-tpiu 66 description: Input connection from the CoreSight Trace bus. 81 compatible = "arm,coresight-tpiu", "arm,primecell";
|
H A D | arm,coresight-dynamic-replicator.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-dynamic-replicator.yaml# 7 title: Arm Coresight Programmable Trace Bus Replicator 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The Coresight replicator splits a single trace stream into two trace streams 31 const: arm,coresight-dynamic-replicator 41 - const: arm,coresight-dynamic-replicator 72 description: Input connection from CoreSight Trace bus 80 description: Output connections to CoreSight Trace bus 96 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
|
H A D | arm,coresight-dynamic-funnel.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-dynamic-funnel.yaml# 7 title: Arm CoreSight Programmable Trace Bus Funnel 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The Coresight funnel merges 2-8 trace sources into a single trace 31 const: arm,coresight-dynamic-funnel 41 - const: arm,coresight-dynamic-funnel 65 description: Input connections from CoreSight Trace bus 74 description: Output connection to CoreSight Trace bus 90 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
|
H A D | arm,coresight-static-replicator.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-static-replicator.yaml# 7 title: Arm CoreSight Static Trace Bus Replicator 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The Coresight replicator splits a single trace stream into two trace streams 28 const: arm,coresight-static-replicator 52 description: Input connection from CoreSight Trace bus 60 description: Output connections to CoreSight Trace bus 73 phandle to the coresight trace source device matching the 92 compatible = "arm,coresight-static-replicator";
|
H A D | arm,coresight-static-funnel.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-static-funnel.yaml# 7 title: Arm CoreSight Static Trace Bus Funnel 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The Coresight static funnel merges 2-8 trace sources into a single trace 28 const: arm,coresight-static-funnel 38 description: Input connections from CoreSight Trace bus 47 description: Output connection to CoreSight Trace bus 64 compatible = "arm,coresight-static-funnel";
|
H A D | arm,coresight-stm.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-stm.yaml# 7 title: Arm CoreSight System Trace MacroCell 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The STM is a trace source that is integrated into a CoreSight system, designed 33 const: arm,coresight-stm 43 - const: arm,coresight-stm 73 description: Output connection to the CoreSight Trace bus. 89 compatible = "arm,coresight-stm", "arm,primecell";
|
H A D | arm,coresight-catu.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,coresight-catu.yaml# 7 title: Arm Coresight Address Translation Unit (CATU) 16 CoreSight components are compliant with the ARM CoreSight architecture 23 The CoreSight Address Translation Unit (CATU) translates addresses between an 34 const: arm,coresight-catu 44 - const: arm,coresight-catu 73 description: AXI Slave connected to another Coresight component 89 compatible = "arm,coresight-catu", "arm,primecell";
|
/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hi6220-coresight.dtsi | 3 * dtsi file for Hisilicon Hi6220 coresight 14 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 39 compatible = "arm,coresight-tmc", "arm,primecell"; 64 compatible = "arm,coresight-static-replicator"; 100 compatible = "arm,coresight-tmc", "arm,primecell"; 116 compatible = "arm,coresight-tpiu", "arm,primecell"; 132 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 217 compatible = "arm,coresight-etm4x", "arm,primecell"; 236 compatible = "arm,coresight-etm4x", "arm,primecell"; 255 compatible = "arm,coresight-etm4x", "arm,primecell"; [all …]
|
H A D | hi3660-coresight.dtsi | 4 * dtsi for Hisilicon Hi3660 Coresight 15 compatible = "arm,coresight-etm4x", "arm,primecell"; 20 arm,coresight-loses-context-with-cpu; 33 compatible = "arm,coresight-etm4x", "arm,primecell"; 38 arm,coresight-loses-context-with-cpu; 51 compatible = "arm,coresight-etm4x", "arm,primecell"; 56 arm,coresight-loses-context-with-cpu; 69 compatible = "arm,coresight-etm4x", "arm,primecell"; 74 arm,coresight-loses-context-with-cpu; 87 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-perf.rst | 4 CoreSight - Perf 10 Perf is able to locally access CoreSight trace data and store it to the 18 a perf.data trace file. That file would have AUX sections if CoreSight 28 . ... CoreSight ETM Trace data: size 73168 bytes 40 If you see these above, then your system is tracing CoreSight data 43 To compile perf with CoreSight support in the tools/perf directory do:: 45 make CORESIGHT=1 53 For complete information on building perf with CoreSight support and 59 Kernel CoreSight Support 62 You will also want CoreSight support enabled in your kernel config. [all …]
|
H A D | coresight-tpda.rst | 22 Root: ``/sys/bus/coresight/devices/tpda<N>`` 27 The tpdm and tpda nodes should be observed at the coresight path 28 "/sys/bus/coresight/devices". 30 /sys/bus/coresight/devices # ls -l | grep tpd 35 Enable coresight sink first. The port of tpda which is connected to 38 echo 1 > /sys/bus/coresight/devices/tmc_etf0/enable_sink 39 echo 1 > /sys/bus/coresight/devices/tpdm0/enable_source 40 echo 1 > /sys/bus/coresight/devices/tpdm0/integration_test 41 echo 2 > /sys/bus/coresight/devices/tpdm0/integration_test 43 The test data will be collected in the coresight sink which is enabled. [all …]
|
H A D | coresight-dummy.rst | 4 Coresight Dummy Trace Module 13 The Coresight dummy trace module is for the specific devices that kernel don't 14 have permission to access or configure, e.g., CoreSight TPDMs on Qualcomm 16 Coresight devices. The module may also be used to define components that may 18 It provides Coresight API for operations on dummy devices, such as enabling and 19 disabling them. It also provides the Coresight dummy sink/source paths for 26 are available at ``/sys/bus/coresight/devices``. 30 $ ls -l /sys/bus/coresight/devices | grep dummy
|
H A D | coresight-trbe.rst | 15 gets plugged in as a coresight sink device because the corresponding trace 18 The TRBE is not compliant to CoreSight architecture specifications, but is 19 driven via the CoreSight driver framework to support the ETE (which is 20 CoreSight compliant) integration. 25 The TRBE devices appear on the existing coresight bus alongside the other 26 coresight devices:: 28 >$ ls /sys/bus/coresight/devices 33 >$ ls /sys/bus/coresight/devices/trbe0/
|
/linux/drivers/perf/arm_cspmu/ |
H A D | Kconfig | 6 tristate "ARM Coresight Architecture PMU" 10 based on ARM CoreSight PMU architecture. Note that this PMU 11 architecture does not have relationship with the ARM CoreSight 15 tristate "NVIDIA Coresight Architecture PMU" 19 (PMU) devices based on ARM CoreSight PMU architecture. 22 tristate "Ampere Coresight Architecture PMU" 26 (PMU) devices based on ARM CoreSight PMU architecture.
|