]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cpum_sf: save TOD clock base in SDBs for time conversion
authorHendrik Brueckner <brueckner@linux.ibm.com>
Mon, 16 Jul 2018 09:08:06 +0000 (11:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 31 Jul 2018 09:02:27 +0000 (11:02 +0200)
commitcb9a14ca6b0b498bdbd63f0de38214d1c47f6b9a
tree1965a82b30d74a6cd1e8d009588e7d294933d9e2
parent88a7d4114b8a0fcedf2591770e5426518113fab9
s390/cpum_sf: save TOD clock base in SDBs for time conversion

Processing the samples in the AUX-area by perf requires the computation
of respective time stamps.  The time stamps used by perf are based on
the monotonic clock.  To convert the TOD clock value contained in an
SDB to a monotonic clock value, the TOD clock base is required.  Hence,
also save the TOD clock base in the SDB.

Suggested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h
arch/s390/kernel/perf_cpum_sf.c