[RFC PATCH 0/2] KVM: arm64: Host/Guest trace syncronization
Nicolas Saenz Julienne
nsaenzju at redhat.com
Fri Nov 19 02:21:16 PST 2021
This small series introduces the necessary infrastructure to be able to
syncronize host and guest traces. The approach I'm following is a bit
biased since I tried to replicate the methods I've been using in the
past with x86.
This was tested on an Ampere Mt. Jade based machine.
---
Nicolas Saenz Julienne (2):
arm64/tracing: add cntvct based trace clock
KVM: arm64: export cntvoff in debugfs
arch/arm64/include/asm/kvm_host.h | 1 +
arch/arm64/include/asm/trace_clock.h | 12 ++++++++++++
arch/arm64/kernel/Makefile | 2 +-
arch/arm64/kernel/trace_clock.c | 12 ++++++++++++
arch/arm64/kvm/Makefile | 2 +-
arch/arm64/kvm/arch_timer.c | 2 +-
arch/arm64/kvm/debugfs.c | 25 +++++++++++++++++++++++++
include/kvm/arm_arch_timer.h | 3 +++
8 files changed, 56 insertions(+), 3 deletions(-)
create mode 100644 arch/arm64/include/asm/trace_clock.h
create mode 100644 arch/arm64/kernel/trace_clock.c
create mode 100644 arch/arm64/kvm/debugfs.c
--
2.33.1
More information about the linux-arm-kernel
mailing list