brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · b9928ef Raw
39 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3==============================4Trace Buffer Extension (TRBE).5==============================6 7    :Author:   Anshuman Khandual <anshuman.khandual@arm.com>8    :Date:     November 20209 10Hardware Description11--------------------12 13Trace Buffer Extension (TRBE) is a percpu hardware which captures in system14memory, CPU traces generated from a corresponding percpu tracing unit. This15gets plugged in as a coresight sink device because the corresponding trace16generators (ETE), are plugged in as source device.17 18The TRBE is not compliant to CoreSight architecture specifications, but is19driven via the CoreSight driver framework to support the ETE (which is20CoreSight compliant) integration.21 22Sysfs files and directories23---------------------------24 25The TRBE devices appear on the existing coresight bus alongside the other26coresight devices::27 28	>$ ls /sys/bus/coresight/devices29	trbe0  trbe1  trbe2 trbe330 31The ``trbe<N>`` named TRBEs are associated with a CPU.::32 33	>$ ls /sys/bus/coresight/devices/trbe0/34        align flag35 36*Key file items are:-*37   * ``align``: TRBE write pointer alignment38   * ``flag``: TRBE updates memory with access and dirty flags39