xref: /qemu/accel/kvm/trace-events (revision c15e5684)
1d0fb9657SStefano Garzarella# See docs/devel/tracing.rst for syntax documentation.
292229a57SYang Zhong
392229a57SYang Zhong# kvm-all.c
492229a57SYang Zhongkvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
592229a57SYang Zhongkvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
692229a57SYang Zhongkvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
792229a57SYang Zhongkvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
892229a57SYang Zhongkvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
992229a57SYang Zhongkvm_failed_reg_get(uint64_t id, const char *msg) "Warning: Unable to retrieve ONEREG %" PRIu64 " from KVM: %s"
1092229a57SYang Zhongkvm_failed_reg_set(uint64_t id, const char *msg) "Warning: Unable to set ONEREG %" PRIu64 " to KVM: %s"
11d0a92b35SDr. David Alan Gilbertkvm_init_vcpu(int cpu_index, unsigned long arch_cpu_id) "index: %d id: %lu"
1292229a57SYang Zhongkvm_irqchip_commit_routes(void) ""
1392229a57SYang Zhongkvm_irqchip_add_msi_route(char *name, int vector, int virq) "dev %s vector %d virq %d"
1492229a57SYang Zhongkvm_irqchip_update_msi_route(int virq) "Updating MSI route virq=%d"
1592229a57SYang Zhongkvm_irqchip_release_virq(int virq) "virq %d"
16876d16cdSDr. David Alan Gilbertkvm_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"
17876d16cdSDr. David Alan Gilbertkvm_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"
18ce5a9832SChao Pengkvm_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"
19ff4aa114SPeter Xukvm_clear_dirty_log(uint32_t slot, uint64_t start, uint32_t size) "slot#%"PRId32" start 0x%"PRIx64" size 0x%"PRIx32
20c82d9d43SPeter Xukvm_resample_fd_notify(int gsi) "gsi %d"
21b4420f19SPeter Xukvm_dirty_ring_full(int id) "vcpu %d"
22b4420f19SPeter Xukvm_dirty_ring_reap_vcpu(int id) "vcpu %d"
23b4420f19SPeter Xukvm_dirty_ring_page(int vcpu, uint32_t slot, uint64_t offset) "vcpu %d fetch %"PRIu32" offset 0x%"PRIx64
24b4420f19SPeter Xukvm_dirty_ring_reaper(const char *s) "%s"
25b4420f19SPeter Xukvm_dirty_ring_reap(uint64_t count, int64_t t) "reaped %"PRIu64" pages (took %"PRIi64" us)"
26b4420f19SPeter Xukvm_dirty_ring_reaper_kick(const char *reason) "%s"
27b4420f19SPeter Xukvm_dirty_ring_flush(int finished) "%d"
289cdfb1e3SJai Arorakvm_destroy_vcpu(void) ""
299cdfb1e3SJai Arorakvm_failed_get_vcpu_mmap_size(void) ""
309cdfb1e3SJai Arorakvm_cpu_exec(void) ""
319cdfb1e3SJai Arorakvm_interrupt_exit_request(void) ""
329cdfb1e3SJai Arorakvm_io_window_exit(void) ""
339cdfb1e3SJai Arorakvm_run_exit_system_event(int cpu_index, uint32_t event_type) "cpu_index %d, system_even_type %"PRIu32
34c15e5684SChao Pengkvm_convert_memory(uint64_t start, uint64_t size, const char *msg) "start 0x%" PRIx64 " size 0x%" PRIx64 " %s"
35c15e5684SChao Pengkvm_memory_fault(uint64_t start, uint64_t size, uint64_t flags) "start 0x%" PRIx64 " size 0x%" PRIx64 " flags 0x%" PRIx64
36