Having TscSequence in the log message for completeness.
From c9f85d69716dd45c9f7662db4599f9cab2623fa3 Mon Sep 17 00:00:00 2001 From: Metin Kaya <metikaya@xxxxxxxxxx> Date: Mon, 24 Jan 2022 10:26:58 +0000 Subject: [PATCH 2/3] x86/hyperv_clock: print sequence field of reference TSC page Having TscSequence in the log message for completeness. Signed-off-by: Metin Kaya <metikaya@xxxxxxxxxx> --- x86/hyperv_clock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x86/hyperv_clock.c b/x86/hyperv_clock.c index dcf101a..9c30fbe 100644 --- a/x86/hyperv_clock.c +++ b/x86/hyperv_clock.c @@ -181,7 +181,8 @@ int main(int ac, char **av) exit(1); } - printf("scale: %" PRIx64" offset: %" PRId64"\n", shadow.tsc_scale, shadow.tsc_offset); + printf("sequence: %u. scale: %" PRIx64" offset: %" PRId64"\n", + shadow.tsc_sequence, shadow.tsc_scale, shadow.tsc_offset); ref1 = rdmsr(HV_X64_MSR_TIME_REF_COUNT); tsc1 = rdtsc(); t1 = hvclock_tsc_to_ticks(&shadow, tsc1); -- 2.32.0