summaryrefslogtreecommitdiff
path: root/Documentation/trace/coresight
diff options
context:
space:
mode:
authorGerman Gomez <german.gomez@arm.com>2022-08-23 19:06:50 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-08-26 22:38:35 +0300
commit04d1edb0ecf297eba4fe946b3b715cff4f8a6656 (patch)
tree59a83a5304be9f58f7f4cce41fb2c20ec081a8cd /Documentation/trace/coresight
parent0f00b223ea22f9e32a82a6ffb5a4de0753c99b55 (diff)
downloadlinux-04d1edb0ecf297eba4fe946b3b715cff4f8a6656.tar.xz
coresight: etm4x: docs: Add documentation for 'ts_source' sysfs interface
Sync sysfs documentation pages to include the new ts_source (timestamp source) interface. Signed-off-by: German Gomez <german.gomez@arm.com> Signed-off-by: James Clark <james.clark@arm.com> Link: https://lore.kernel.org/r/20220823160650.455823-3-james.clark@arm.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'Documentation/trace/coresight')
-rw-r--r--Documentation/trace/coresight/coresight-etm4x-reference.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/trace/coresight/coresight-etm4x-reference.rst b/Documentation/trace/coresight/coresight-etm4x-reference.rst
index fb7578fd9372..70e34b8c81c1 100644
--- a/Documentation/trace/coresight/coresight-etm4x-reference.rst
+++ b/Documentation/trace/coresight/coresight-etm4x-reference.rst
@@ -71,6 +71,20 @@ the ‘TRC’ prefix.
----
+:File: ``ts_source`` (ro)
+:Trace Registers: None.
+:Notes:
+ When FEAT_TRF is implemented, value of TRFCR_ELx.TS used for trace session. Otherwise -1
+ indicates an unknown time source. Check trcidr0.tssize to see if a global timestamp is
+ available.
+
+:Example:
+ ``$> cat ts_source``
+
+ ``$> 1``
+
+----
+
:File: ``addr_idx`` (rw)
:Trace Registers: None.
:Notes: