diff options
author | Pavel Tatashin <[email protected]> | 2018-07-19 16:55:35 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-07-20 00:02:41 +0200 |
commit | 4b1b7f8054896cee25669f6cea7cb6dd17f508f7 (patch) | |
tree | 65d979baf3f793afe4478fd70185a1d020b93057 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3eca993740b8eb40f514b90b1877a4dbcf0a6710 (diff) |
timekeeping: Default boot time offset to local_clock()
read_persistent_wall_and_boot_offset() is called during boot to read
both the persistent clock and also return the offset between the boot time
and the value of persistent clock.
Change the default boot_offset from zero to local_clock() so architectures,
that do not have a dedicated boot_clock but have early sched_clock(), such
as SPARCv9, x86, and possibly more will benefit from this change by getting
a better and more consistent estimate of the boot time without need for an
arch specific implementation.
Signed-off-by: Pavel Tatashin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions