diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-12-15 16:23:26 +1100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-05 13:54:38 +0100 |
commit | fe29141bee3e8603a39838897698d8349c3daef0 (patch) | |
tree | 8e7b4e8142d03a0a5d788a340966b4e05a3df671 /accel/kvm/trace-events | |
parent | bf853881690db8bbd1de39e4be580310a9cb0ebc (diff) |
kvm: Add kvm_set_user_memory tracepoint
This adds a tracepoint to trace the KVM_SET_USER_MEMORY_REGION ioctl
parameters which is quite useful for debugging VFIO memory regions
being actually registered with KVM.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20171215052326.21386-1-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/kvm/trace-events')
-rw-r--r-- | accel/kvm/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel/kvm/trace-events b/accel/kvm/trace-events index f89ba5578d..58e98efe5d 100644 --- a/accel/kvm/trace-events +++ b/accel/kvm/trace-events @@ -12,4 +12,5 @@ kvm_irqchip_commit_routes(void) "" kvm_irqchip_add_msi_route(char *name, int vector, int virq) "dev %s vector %d virq %d" kvm_irqchip_update_msi_route(int virq) "Updating MSI route virq=%d" kvm_irqchip_release_virq(int virq) "virq %d" +kvm_set_user_memory(uint32_t slot, uint32_t flags, uint64_t guest_phys_addr, uint64_t memory_size, uint64_t userspace_addr, int ret) "Slot#%d flags=0x%x gpa=0x%"PRIx64 " size=0x%"PRIx64 " ua=0x%"PRIx64 " ret=%d" |