]> www.infradead.org Git - users/jedix/linux-maple.git/commit
timekeeping: Add the boot clock to system time snapshot
authorVincent Donnefort <vdonnefort@google.com>
Wed, 11 Sep 2024 09:30:20 +0000 (10:30 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Oct 2024 15:10:41 +0000 (17:10 +0200)
commit8102c4daf44ab86c2d2226a8136bec905d6e2bd1
tree42b655d255d7d1a999bc81619caad5466b43531f
parent9852d85ec9d492ebef56dc5f229416c925758edc
timekeeping: Add the boot clock to system time snapshot

For tracing purpose, the boot clock is interesting as it doesn't stop on
suspend. Export it as part of the time snapshot. This will later allow
the hypervisor to add boot clock timestamps to its events.

Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20240911093029.3279154-5-vdonnefort@google.com
include/linux/timekeeping.h
kernel/time/timekeeping.c