xref: /openbmc/qemu/accel/kvm/trace-events (revision 1f2355f5)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# kvm-all.c
4kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
5kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
6kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
7kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
8kvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
9kvm_failed_reg_get(uint64_t id, const char *msg) "Warning: Unable to retrieve ONEREG %" PRIu64 " from KVM: %s"
10kvm_failed_reg_set(uint64_t id, const char *msg) "Warning: Unable to set ONEREG %" PRIu64 " to KVM: %s"
11kvm_init_vcpu(int cpu_index, unsigned long arch_cpu_id) "index: %d id: %lu"
12kvm_irqchip_commit_routes(void) ""
13kvm_irqchip_add_msi_route(char *name, int vector, int virq) "dev %s vector %d virq %d"
14kvm_irqchip_update_msi_route(int virq) "Updating MSI route virq=%d"
15kvm_irqchip_release_virq(int virq) "virq %d"
16kvm_set_ioeventfd_mmio(int fd, uint64_t addr, uint32_t val, bool assign, uint32_t size, bool datamatch) "fd: %d @0x%" PRIx64 " val=0x%x assign: %d size: %d match: %d"
17kvm_set_ioeventfd_pio(int fd, uint16_t addr, uint32_t val, bool assign, uint32_t size, bool datamatch) "fd: %d @0x%x val=0x%x assign: %d size: %d match: %d"
18kvm_set_user_memory(uint16_t as, uint16_t slot, uint32_t flags, uint64_t guest_phys_addr, uint64_t memory_size, uint64_t userspace_addr, uint32_t fd, uint64_t fd_offset, int ret) "AddrSpace#%d Slot#%d flags=0x%x gpa=0x%"PRIx64 " size=0x%"PRIx64 " ua=0x%"PRIx64 " guest_memfd=%d" " guest_memfd_offset=0x%" PRIx64 " ret=%d"
19kvm_clear_dirty_log(uint32_t slot, uint64_t start, uint32_t size) "slot#%"PRId32" start 0x%"PRIx64" size 0x%"PRIx32
20kvm_resample_fd_notify(int gsi) "gsi %d"
21kvm_dirty_ring_full(int id) "vcpu %d"
22kvm_dirty_ring_reap_vcpu(int id) "vcpu %d"
23kvm_dirty_ring_page(int vcpu, uint32_t slot, uint64_t offset) "vcpu %d fetch %"PRIu32" offset 0x%"PRIx64
24kvm_dirty_ring_reaper(const char *s) "%s"
25kvm_dirty_ring_reap(uint64_t count, int64_t t) "reaped %"PRIu64" pages (took %"PRIi64" us)"
26kvm_dirty_ring_reaper_kick(const char *reason) "%s"
27kvm_dirty_ring_flush(int finished) "%d"
28kvm_destroy_vcpu(void) ""
29kvm_failed_get_vcpu_mmap_size(void) ""
30kvm_cpu_exec(void) ""
31kvm_interrupt_exit_request(void) ""
32kvm_io_window_exit(void) ""
33kvm_run_exit_system_event(int cpu_index, uint32_t event_type) "cpu_index %d, system_even_type %"PRIu32
34kvm_convert_memory(uint64_t start, uint64_t size, const char *msg) "start 0x%" PRIx64 " size 0x%" PRIx64 " %s"
35kvm_memory_fault(uint64_t start, uint64_t size, uint64_t flags) "start 0x%" PRIx64 " size 0x%" PRIx64 " flags 0x%" PRIx64
36