diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-08-26 14:33:01 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 11:46:19 -0700 |
| commit | d7841275e1fb4ad1e1877e56725ebda5b6e3143d (patch) | |
| tree | 35a89cc20e21ca2a9c80b57296b00c751dc27892 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0a0ab23b05f031ee849357fe0a5e1f667b46277e (diff) | |
KVM: x86: Use kernel timekeeping snapshot to get walltime+TSC
Replace the KVM-private vgettsc()+/do_do_realtime() timekeeping
reimplementation with calls to the recently crafted, generic
ktime_get_snapshot_id() interface. As noted previously, the snapshot
provides both the system time and the raw_cycles (TSC), atomically paired
using a sequence counter.
With great pleasure, delete the now unused read_tsc() and vgettsc()
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
[sean: separate from other conversions, express joy at vgettsc()'s demise]
Link: https://patch.msgid.link/20260826213303.914988-22-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
