 9cdfb1e3a5
			
		
	
	
		9cdfb1e3a5
		
	
	
	
	
		
			
			Patch removes DPRINTF macro and adds multiple tracepoints to capture different kvm events. We also drop the DPRINTFs that don't add any additional information than trace_kvm_run_exit already does. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1827 Signed-off-by: Jai Arora <arorajai2798@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
		
			
				
	
	
		
			34 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # See docs/devel/tracing.rst for syntax documentation.
 | |
| 
 | |
| # kvm-all.c
 | |
| kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
 | |
| kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
 | |
| kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
 | |
| kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
 | |
| kvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
 | |
| kvm_failed_reg_get(uint64_t id, const char *msg) "Warning: Unable to retrieve ONEREG %" PRIu64 " from KVM: %s"
 | |
| kvm_failed_reg_set(uint64_t id, const char *msg) "Warning: Unable to set ONEREG %" PRIu64 " to KVM: %s"
 | |
| kvm_init_vcpu(int cpu_index, unsigned long arch_cpu_id) "index: %d id: %lu"
 | |
| 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_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"
 | |
| kvm_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"
 | |
| 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"
 | |
| kvm_clear_dirty_log(uint32_t slot, uint64_t start, uint32_t size) "slot#%"PRId32" start 0x%"PRIx64" size 0x%"PRIx32
 | |
| kvm_resample_fd_notify(int gsi) "gsi %d"
 | |
| kvm_dirty_ring_full(int id) "vcpu %d"
 | |
| kvm_dirty_ring_reap_vcpu(int id) "vcpu %d"
 | |
| kvm_dirty_ring_page(int vcpu, uint32_t slot, uint64_t offset) "vcpu %d fetch %"PRIu32" offset 0x%"PRIx64
 | |
| kvm_dirty_ring_reaper(const char *s) "%s"
 | |
| kvm_dirty_ring_reap(uint64_t count, int64_t t) "reaped %"PRIu64" pages (took %"PRIi64" us)"
 | |
| kvm_dirty_ring_reaper_kick(const char *reason) "%s"
 | |
| kvm_dirty_ring_flush(int finished) "%d"
 | |
| kvm_destroy_vcpu(void) ""
 | |
| kvm_failed_get_vcpu_mmap_size(void) ""
 | |
| kvm_cpu_exec(void) ""
 | |
| kvm_interrupt_exit_request(void) ""
 | |
| kvm_io_window_exit(void) ""
 | |
| kvm_run_exit_system_event(int cpu_index, uint32_t event_type) "cpu_index %d, system_even_type %"PRIu32
 |