| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
========================================================== |
| 4 |
Trace performance monitoring and diagnostics monitor(TPDM) |
| 5 |
========================================================== |
| 6 |
|
| 7 |
:Author: Jinlong Mao <[email protected]> |
| 8 |
:Date: January 2023 |
| 9 |
|
| 10 |
Hardware Description |
| 11 |
-------------------- |
| 12 |
TPDM - The trace performance monitoring and diagnostics monitor or TPDM in |
| 13 |
short serves as data collection component for various dataset types. |
| 14 |
The primary use case of the TPDM is to collect data from different data |
| 15 |
sources and send it to a TPDA for packetization, timestamping and funneling. |
| 16 |
|
| 17 |
Sysfs files and directories |
| 18 |
--------------------------- |
| 19 |
Root: ``/sys/bus/coresight/devices/tpdm<N>`` |
| 20 |
|
| 21 |
---- |
| 22 |
|
| 23 |
:File: ``enable_source`` (RW) |
| 24 |
:Notes: |
| 25 |
- > 0 : enable the datasets of TPDM. |
| 26 |
|
| 27 |
- = 0 : disable the datasets of TPDM. |
| 28 |
|
| 29 |
:Syntax: |
| 30 |
``echo 1 > enable_source`` |
| 31 |
|
| 32 |
---- |
| 33 |
|
| 34 |
:File: ``integration_test`` (wo) |
| 35 |
:Notes: |
| 36 |
Integration test will generate test data for tpdm. |
| 37 |
|
| 38 |
:Syntax: |
| 39 |
``echo value > integration_test`` |
| 40 |
|
| 41 |
value - 1 or 2. |
| 42 |
|
| 43 |
---- |
| 44 |
|
| 45 |
.. This text is intentionally added to make Sphinx happy. |