# Re: \[patch 24/24\] ptp: Switch to ktime\_get\_snapshot\_id() for pre/post timestamps

- From: Vadim Fedorenko \<vadim.fedorenko@linux.dev\>
- Date: 2026-05-27 13:10:58 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2026/05/17036716
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On 26/05/2026 18:15, Thomas Gleixner wrote:
> To prepare for a new PTP IOCTL, which exposes the raw counter value along
> with the requested system time snapshot, switch the pre/post time stamp
> sampling over to use ktime_get_snapshot_id() and fix up all usage sites.
>
> No functional change intended.
>
> The ptp_vmclock conversion was simplified by David Woodhouse.
>
> Signed-off-by: Thomas Gleixner <tglx@kernel.org>

for ptp_ocp:
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
```
