]> 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)
commit9fe9ed886d220b5f77e9cccf3b2c9cbbcb51946d
tree1965a82b30d74a6cd1e8d009588e7d294933d9e2
parent6d3f8846ae5b6e1a6e5aca24191a1e48f6e73bb9
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