xref: /openbmc/qemu/accel/kvm/trace-events (revision 7d87775f)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# kvm-all.c
4kvm_ioctl(unsigned long type, void *arg) "type 0x%lx, arg %p"
5kvm_vm_ioctl(unsigned long type, void *arg) "type 0x%lx, arg %p"
6kvm_vcpu_ioctl(int cpu_index, unsigned long type, void *arg) "cpu_index %d, type 0x%lx, arg %p"
7kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
8kvm_device_ioctl(int fd, unsigned long type, void *arg) "dev fd %d, type 0x%lx, 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_create_vcpu(int cpu_index, unsigned long arch_cpu_id, int kvm_fd) "index: %d, id: %lu, kvm fd: %d"
13kvm_destroy_vcpu(int cpu_index, unsigned long arch_cpu_id) "index: %d id: %lu"
14kvm_park_vcpu(int cpu_index, unsigned long arch_cpu_id) "index: %d id: %lu"
15kvm_unpark_vcpu(unsigned long arch_cpu_id, const char *msg) "id: %lu %s"
16kvm_irqchip_commit_routes(void) ""
17kvm_irqchip_add_msi_route(char *name, int vector, int virq) "dev %s vector %d virq %d"
18kvm_irqchip_update_msi_route(int virq) "Updating MSI route virq=%d"
19kvm_irqchip_release_virq(int virq) "virq %d"
20kvm_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"
21kvm_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"
22kvm_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"
23kvm_clear_dirty_log(uint32_t slot, uint64_t start, uint32_t size) "slot#%"PRId32" start 0x%"PRIx64" size 0x%"PRIx32
24kvm_resample_fd_notify(int gsi) "gsi %d"
25kvm_dirty_ring_full(int id) "vcpu %d"
26kvm_dirty_ring_reap_vcpu(int id) "vcpu %d"
27kvm_dirty_ring_page(int vcpu, uint32_t slot, uint64_t offset) "vcpu %d fetch %"PRIu32" offset 0x%"PRIx64
28kvm_dirty_ring_reaper(const char *s) "%s"
29kvm_dirty_ring_reap(uint64_t count, int64_t t) "reaped %"PRIu64" pages (took %"PRIi64" us)"
30kvm_dirty_ring_reaper_kick(const char *reason) "%s"
31kvm_dirty_ring_flush(int finished) "%d"
32kvm_failed_get_vcpu_mmap_size(void) ""
33kvm_cpu_exec(void) ""
34kvm_interrupt_exit_request(void) ""
35kvm_io_window_exit(void) ""
36kvm_run_exit_system_event(int cpu_index, uint32_t event_type) "cpu_index %d, system_even_type %"PRIu32
37kvm_convert_memory(uint64_t start, uint64_t size, const char *msg) "start 0x%" PRIx64 " size 0x%" PRIx64 " %s"
38kvm_memory_fault(uint64_t start, uint64_t size, uint64_t flags) "start 0x%" PRIx64 " size 0x%" PRIx64 " flags 0x%" PRIx64
39kvm_slots_grow(unsigned int old, unsigned int new) "%u -> %u"
40