# Re: \[patch 05/24\] KVM: arm64: Use ktime\_get\_snapshot\_id() to retrieve CLOCK\_BOOTTIME

- From: Marc Zyngier \<maz@kernel.org\>
- Date: 2026-05-27 09:02:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/17035371
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On Tue, 26 May 2026 18:13:53 +0100,
Thomas Gleixner [ref] wrote:
> 
> ktime_get_snapshot() is replaced by ktime_get_snapshot_id() which allows to
> request a particular CLOCK ID to be captured along with the clocksource
> counter.
> 
> Convert the tracing mechanism over and use the new
> system_time_snapshot::sys field, which holds the system timestamp selected
> by the CLOCK ID argument.
> 
> No functional change intended.
> 
> Signed-off-by: Thomas Gleixner <tglx@kernel.org>
> Cc: Vincent Donnefort <vdonnefort@google.com>
> Cc: Marc Zyngier <maz@kernel.org>
> Cc: Oliver Upton <redacted>
> Cc: <redacted>
> ---
>  arch/arm64/kvm/hyp_trace.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.
```
