]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/tracing: Add s390-tod clock
authorSven Schnelle <svens@linux.ibm.com>
Thu, 21 May 2026 10:41:44 +0000 (12:41 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 26 May 2026 06:15:41 +0000 (08:15 +0200)
commit29eb8a7b6e3bfca74a9077304b08d42274cbb4d6
tree69710ce8960898ecd1a56499830e30347086e55d
parent30cc5e2ad826a6d2308acdec3b462c1a6497b7b7
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>
Documentation/trace/ftrace.rst
arch/s390/include/asm/trace_clock.h [new file with mode: 0644]
arch/s390/kernel/Makefile
arch/s390/kernel/trace_clock.c [new file with mode: 0644]