mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-09-27 02:59:35 +10:00
Add documentation for the TPDM and TPDA under trace/coresight. Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230117145708.16739-9-quic_jinlmao@quicinc.com
44 lines
1.0 KiB
ReStructuredText
44 lines
1.0 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
==============================
|
|
Trace performance monitoring and diagnostics monitor(TPDM).
|
|
==============================
|
|
|
|
:Author: Jinlong Mao <quic_jinlmao@quicinc.com>
|
|
:Date: January 2023
|
|
|
|
Hardware Description
|
|
--------------------
|
|
TPDM - The trace performance monitoring and diagnostics monitor or TPDM in
|
|
short serves as data collection component for various dataset types.
|
|
The primary use case of the TPDM is to collect data from different data
|
|
sources and send it to a TPDA for packetization, timestamping and funneling.
|
|
|
|
Sysfs files and directories
|
|
---------------------------
|
|
Root: ``/sys/bus/coresight/devices/tpdm<N>``
|
|
|
|
----
|
|
|
|
:File: ``enable_source`` (RW)
|
|
:Notes:
|
|
- > 0 : enable the datasets of TPDM.
|
|
|
|
- = 0 : disable the datasets of TPDM.
|
|
|
|
:Syntax:
|
|
``echo 1 > enable_source``
|
|
|
|
----
|
|
|
|
:File: ``integration_test`` (wo)
|
|
:Notes:
|
|
Integration test will generate test data for tpdm.
|
|
|
|
:Syntax:
|
|
``echo value > integration_test``
|
|
|
|
value - 1 or 2.
|
|
|
|
----
|