Skip to content

kvmtrace: powerpc support and timestamps for KVM_TRACE

[email protected] kvm kvm-ppc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] kvmtrace: powerpc support and timestamps for KVM_TRACE

From: Christian Ehrhardt <[email protected]>

Chaning kvmtrace code to use timestamp and add powerpc support.

This is the revised series including the feedback from the earlier submission this week. I now also added the userspace changes which completes the series.

The series contains nine patches (4 generic / 5 powerpc code):

Subject: [PATCH 1/9] kvmtrace: Remove use of bit fields in kvm trace structure v3
Introducing a endian save way to store the flags event,tcs, num_data
Subject: [PATCH 2/9] kvmtrace: replace get_cycles with getnstimeofday
use a cross host comparable timestamp source and make it 32/64 bit save
Subject: [PATCH 3/9] kvmtrace: rename cycles to timestamp
it is no more tracking cycles, so rename variables and change comments
Subject: [PATCH 3/9] kvmppc: kvmtrace: enable KVM_TRACE building for powerpc
enable KVM_TRACE for powerpc in Kconfig/Makefile
Subject: [PATCH 4/9] kvmppc: kvmtrace: adds trace points for ppc tlb activity v2
use KVM_TRACE to track tlb/shadow tlb activity on embedded powerpc
Subject: [PATCH 5/9] kvmppc: kvmtrace: trace powerpc instruction emulation
use KVM_TRACE to track instruction emulation overhead
Subject: [PATCH 7/9] kvm-userspace: kvmtrace_format: add ppc instruction emulation
extension to kvmtrace_format to handle complex event types e.g. ppc instructon emulation
Subject: [PATCH 8/9] kvm-userspace: kvmtrace_format: add statistic section
adding statistic creation/prsentation to the kvmtrace data processing
Subject: [PATCH 9/9] kvm-userspace: kvmtrace: rename cycles to timestamp
it is no more tracking cycles, so rename variables and change comments

---

[diffstat]

 arch/powerpc/kvm/emulate.c   |    2
 b/arch/powerpc/kvm/44x_tlb.c |   15 ++
 b/arch/powerpc/kvm/Kconfig   |   11 +
 b/arch/powerpc/kvm/Makefile  |    6
 b/arch/powerpc/kvm/emulate.c |    4
 b/include/linux/kvm.h        |   17 ++
 b/user/formats               |   16 --
 b/user/kvmtrace_format       |  276 ++++++++++++++++++++++++++++++++++++++++---
 b/virt/kvm/kvm_trace.c       |   19 +-
 include/linux/kvm.h          |   10 +
 user/formats                 |   50 +++----
 user/kvmtrace_format         |  114 +++++++++++++----
 virt/kvm/kvm_trace.c         |   29 ++--
 13 files changed, 461 insertions(+), 108 deletions(-)