Home
last modified time | relevance | path

Searched full:etm (Results 1 – 25 of 109) sorted by relevance

12345

/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-coresight-devices-etm4x1 What: /sys/bus/coresight/devices/etm<N>/enable_source
11 What: /sys/bus/coresight/devices/etm<N>/cpu
17 What: /sys/bus/coresight/devices/etm<N>/nr_pe_cmp
24 What: /sys/bus/coresight/devices/etm<N>/nr_addr_cmp
31 What: /sys/bus/coresight/devices/etm<N>/nr_cntr
38 What: /sys/bus/coresight/devices/etm<N>/nr_ext_inp
44 What: /sys/bus/coresight/devices/etm<N>/numcidc
51 What: /sys/bus/coresight/devices/etm<N>/numvmidc
58 What: /sys/bus/coresight/devices/etm<N>/nrseqstate
65 What: /sys/bus/coresight/devices/etm<N>/nr_resource
[all …]
H A Dsysfs-bus-coresight-devices-etm3x1 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/enable_source
11 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_idx
18 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_acctype
29 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_range
37 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_single
45 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_start
53 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/addr_stop
61 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_idx
67 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_event
74 What: /sys/bus/coresight/devices/<memory_map>.[etm|ptm]/cntr_val
[all …]
H A Dsysfs-device-mali-coresight-source16 What: /sys/bus/coresight/devices/mali-source-etm/enable_source
18 Attribute used to enable Coresight Source ETM.
20 What: /sys/bus/coresight/devices/mali-source-etm/is_enabled
24 What: /sys/bus/coresight/devices/mali-source-etm/trcconfigr
26 Coresight Source ETM trace configuration to enable global
29 What: /sys/bus/coresight/devices/mali-source-etm/trctraceidr
31 Coresight Source ETM trace ID.
33 What: /sys/bus/coresight/devices/mali-source-etm/trcvdarcctlr
35 Coresight Source ETM viewData include/exclude address
38 What: /sys/bus/coresight/devices/mali-source-etm/trcviiectlr
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcs-etm.c21 #include "cs-etm.h"
22 #include "cs-etm-decoder/cs-etm-decoder.h"
84 struct cs_etm_auxtrace *etm; member
100 static int cs_etm__update_queues(struct cs_etm_auxtrace *etm);
101 static int cs_etm__process_queues(struct cs_etm_auxtrace *etm);
102 static int cs_etm__process_timeless_queues(struct cs_etm_auxtrace *etm,
113 * encode the etm queue number as the upper 16 bit and the channel as
239 struct cs_etm_auxtrace *etm = etmq->etm; in cs_etm__init_traceid_queue() local
243 queue = &etmq->etm->queues.queue_array[etmq->queue_nr]; in cs_etm__init_traceid_queue()
256 if (etm->synth_opts.last_branch) { in cs_etm__init_traceid_queue()
[all …]
/OK3568_Linux_fs/kernel/Documentation/trace/coresight/
H A Dcoresight.rst41 | # ETM # ::::: | # PTM # ::::: ::::: @ |
76 &&&&&&&&& IIIIIII ETM = Embedded Trace Macrocell
89 the basic tracing functionality, enabling components such ETM/PTM, funnel,
101 ETM:
157 replicator 20030000.tpiu 2201c000.ptm 2203c000.etm 2203e000.etm
158 20010000.etb 20040000.funnel 2201d000.ptm 2203d000.etm
210 20010000.etf 20040000.funnel 20100000.stm 22040000.etm
211 22140000.etm 230c0000.funnel 23240000.etm 20030000.tpiu
213 23040000.etm 23140000.etm 23340000.etm
223 e.g, ETM bound to CPU0 is named "etm0"
[all …]
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/
H A Dcoresight-etm.h144 * struct etm_config - configuration information related to an ETM
145 * @mode: controls various modes supported by this ETM/PTM.
209 * struct etm_drvdata - specifics associated to an ETM component
211 * @atclk: optional clock for the core parts of the ETM.
216 * @arch: ETM/PTM version number.
219 * @sticky_enable: true if ETM base configuration has been done.
262 "invalid CP14 access to ETM reg: %#x", off); in etm_writel()
276 "invalid CP14 access to ETM reg: %#x", off); in etm_readl()
H A Dcoresight-etm3x-core.c33 #include "coresight-etm.h"
34 #include "coresight-etm-perf.h"
110 * @drvdata: etm's private data structure.
344 * Possible to have cores with PTM (supports ret stack) and ETM in etm_parse_event_config()
512 * Configure the ETM only if the CPU is online. If it isn't online in etm_enable_sysfs()
530 dev_dbg(&csdev->dev, "ETM tracing enabled\n"); in etm_enable_sysfs()
620 * DYING hotplug callback is serviced by the ETM driver. in etm_disable_sysfs()
626 * Executing etm_disable_hw on the cpu whose ETM is being disabled in etm_disable_sysfs()
634 dev_dbg(&csdev->dev, "ETM tracing disabled\n"); in etm_disable_sysfs()
748 /* Provide power to ETM: ETMPDCR[3] == 1 */ in etm_init_arch_data()
[all …]
H A Dcoresight-etm-perf.c21 #include "coresight-etm-perf.h"
28 * An ETM context for a running event includes the perf aux handle
29 * and aux_data. For ETM, the aux_data (etm_event_data), consists of
38 * the ETM. Thus the event_data for the session must be part of the ETM context
298 * trace path for each CPU in the mask. If we don't find an ETM in etm_setup_aux()
309 * If there is no ETM associated with this CPU clear it from in etm_setup_aux()
332 /* Find the default sink for this ETM */ in etm_setup_aux()
419 * Check if this ETM is allowed to trace, as decided in etm_event_start()
421 * sink from this ETM. We can't do much in this case if in etm_event_start()
423 * now, simply don't record anything on this ETM. in etm_event_start()
[all …]
H A DKconfig94 the ETM version data tracing may also be available.
114 bool "Control implementation defined overflow support in ETM 4.x driver"
118 ETM 4.x tracer module that can't reduce commit rate automatically.
119 This avoids overflow between the ETM tracer module and the cpu core.
H A Dcoresight-etm4x.h134 * System instructions to access ETM registers.
569 * Bit[15:0] - ARCHID, Identifies this component as an ETM
570 * * Bits[15:12] - architecture version of ETM
572 * * Bits[11:0] = 0xA13, architecture part number for ETM.
618 * ETM defines the bits for EL control (e.g, TRVICTLR, TRCACTRn).
665 * Driver representation of the ETM architecture.
666 * The version of an ETM component can be detected from
671 * TRCIDR1 - ETM architected register
695 /* Interpretation of resource numbers change at ETM v4.3 architecture */
717 * @mode: Controls various modes supported by this ETM.
[all …]
H A Dcoresight-cti-platform.c127 /* Can optionally have an etm node - return if not */ in cti_plat_create_v8_etm_connection()
143 * The EXTOUT type signals from the ETM are connected to a set of input in cti_plat_create_v8_etm_connection()
152 * We look to see if the ETM coresight device associated with this in cti_plat_create_v8_etm_connection()
158 * probing of the ETM will call into the CTI driver API to update the in cti_plat_create_v8_etm_connection()
171 * must have a cpu, can have an ETM.
210 /* Create the v8 ETM associated connection */ in cti_plat_create_v8_connections()
H A DMakefile6 coresight-y := coresight-core.o coresight-etm-perf.o coresight-platform.o \
16 coresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/etm/
H A Dcoresight_mali_source_etm_core.c35 static char *type_name = "mali-source-etm";
61 // Unlock ETM configuration
99 // Lock the ETM configuration
106 // Unlock ETM configuration
112 // Lock ETM configuration
133 "arm,coresight-mali-source-etm" },
258 .name = "coresight-mali-source-etm",
279 MODULE_DESCRIPTION("Arm Coresight Mali source ETM");
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/
H A Dhi3660-coresight.dtsi14 etm@ecc40000 {
31 etm@ecd40000 {
48 etm@ece40000 {
65 etm@ecf40000 {
157 etm@ed440000 {
174 etm@ed540000 {
191 etm@ed640000 {
208 etm@ed740000 {
H A Dhi6220-coresight.dtsi216 etm0: etm@f659c000 {
235 etm1: etm@f659d000 {
254 etm2: etm@f659e000 {
273 etm3: etm@f659f000 {
292 etm4: etm@f65dc000 {
311 etm5: etm@f65dd000 {
330 etm6: etm@f65de000 {
349 etm7: etm@f65df000 {
/OK3568_Linux_fs/kernel/drivers/clk/mxs/
H A Dclk-imx23.c34 #define ETM (CLKCTRL + 0x00e0) macro
86 lcdif, etm, usb, usb_phy, enumerator
134 clks[etm_div] = mxs_clk_div("etm_div", "etm_sel", ETM, 0, 6, 29); in mx23_clocks_init()
151 clks[etm] = mxs_clk_gate("etm", "etm_div", ETM, 31); in mx23_clocks_init()
H A Dclk-imx28.c37 #define ETM (CLKCTRL + 0x0130) macro
140 ssp1, ssp2, ssp3, gpmi, spdif, emi, saif0, saif1, lcdif, etm, enumerator
202 clks[etm_div] = mxs_clk_div("etm_div", "etm_sel", ETM, 0, 7, 29); in mx28_clocks_init()
223 clks[etm] = mxs_clk_gate("etm", "etm_div", ETM, 31); in mx28_clocks_init()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/sprd/
H A Dsc9863a.dtsi412 etm@13040000 {
429 etm@13140000 {
446 etm@13240000 {
463 etm@13340000 {
480 etm@13440000 {
497 etm@13540000 {
514 etm@13640000 {
531 etm@13740000 {
H A Dsc9836.dtsi118 etm@10440000 {
134 etm@10540000 {
150 etm@10640000 {
166 etm@10740000 {
H A Dsc9860.dtsi552 etm@11440000 {
569 etm@11540000 {
586 etm@11640000 {
603 etm@11740000 {
620 etm@11840000 {
637 etm@11940000 {
654 etm@11a40000 {
671 etm@11b40000 {
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/
H A DKconfig24 bool "Enable CoreSight Mali Sources ETM module"
27 This option will build coresight ETM source driver,
29 the ETM component.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dmali-coresight-source.txt57 ARM Coresight Mali Source ETM
63 - compatible: Has to be "arm,coresight-mali-source-etm"
72 mali-source-etm {
73 compatible = "arm,coresight-mali-source-etm";
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-u300.c507 PINCTRL_PIN(316, "PO ETM TRACE PKT0"),
508 PINCTRL_PIN(317, "PO ETM TRACE PKT1"),
509 PINCTRL_PIN(318, "PO ETM TRACE PKT2"),
514 PINCTRL_PIN(323, "PO ETM TRACE PKT3"),
515 PINCTRL_PIN(324, "PO ETM TRACE PKT4"),
516 PINCTRL_PIN(325, "PO ETM TRACE PKT5"),
517 PINCTRL_PIN(326, "PO ETM TRACE PKT6"),
518 PINCTRL_PIN(327, "PO ETM TRACE PKT7"),
519 PINCTRL_PIN(328, "PO ETM PIPE STAT0"),
524 PINCTRL_PIN(333, "PO ETM PIPE STAT1"),
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dcoresight-pmu.h15 * arbitrary values for all ETM versions.
27 /* ETMv4 CONFIGR programming bits for the ETM OPTs */
/OK3568_Linux_fs/kernel/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh126 # Iterate for every ETM device
127 for dev in /sys/bus/coresight/devices/etm*; do
129 # Find the ETM device belonging to which CPU

12345