summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-08-26 14:33:00 -0700
committerSean Christopherson <seanjc@google.com>2026-09-11 11:46:19 -0700
commit0a0ab23b05f031ee849357fe0a5e1f667b46277e (patch)
tree31fa1096228f1082d1c61716880aaed4aabfb25a /tools/perf/scripts/python
parentef7d809987c9c36d2b50ae0f0feb07251ff98cf8 (diff)
KVM: x86: Use kernel timekeeping snapshot for monotonic clock
Replace the KVM-private vgettsc()+/do_monotonic() 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. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> [sean: separate from other conversions] Link: https://patch.msgid.link/20260826213303.914988-21-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions