summaryrefslogtreecommitdiff
path: root/Documentation/trace
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2026-05-21 12:41:44 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2026-05-26 08:15:41 +0200
commit29eb8a7b6e3bfca74a9077304b08d42274cbb4d6 (patch)
tree69710ce8960898ecd1a56499830e30347086e55d /Documentation/trace
parent30cc5e2ad826a6d2308acdec3b462c1a6497b7b7 (diff)
downloadlwn-29eb8a7b6e3bfca74a9077304b08d42274cbb4d6.tar.gz
lwn-29eb8a7b6e3bfca74a9077304b08d42274cbb4d6.zip
s390/tracing: Add s390-tod clock
In order to allow comparing trace timestamps between different systems or virtual machines on s390, add a s390-tod trace clock. This clock just uses the returned TOD clock value from stcke directly. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'Documentation/trace')
-rw-r--r--Documentation/trace/ftrace.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index b9efb148a5c2..f4d3f4d35ed5 100644
--- a/Documentation/trace/ftrace.rst
+++ b/Documentation/trace/ftrace.rst
@@ -570,6 +570,10 @@ of ftrace. Here is a list of some of the key files:
to correlate events across hypervisor/guest if
tb_offset is known.
+ s390-tod:
+ This uses the s390 TOD clock value. This clock is usually in
+ sync across virtual machines and STP-enabled machines.
+
mono:
This uses the fast monotonic clock (CLOCK_MONOTONIC)
which is monotonic and is subject to NTP rate adjustments.