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)
commit5223c671674c507cc9bcabdfc5a9b449c178330a
tree1965a82b30d74a6cd1e8d009588e7d294933d9e2
parent03760d44b1d12df34422f61fc30846d334e03eac
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