1# See docs/devel/tracing.txt for syntax documentation. 2 3# vhost.c 4vhost_commit(bool started, bool changed) "Started: %d Changed: %d" 5vhost_region_add_section(const char *name, uint64_t gpa, uint64_t size, uint64_t host) "%s: 0x%"PRIx64"+0x%"PRIx64" @ 0x%"PRIx64 6vhost_region_add_section_merge(const char *name, uint64_t new_size, uint64_t gpa, uint64_t owr) "%s: size: 0x%"PRIx64 " gpa: 0x%"PRIx64 " owr: 0x%"PRIx64 7vhost_region_add_section_aligned(const char *name, uint64_t gpa, uint64_t size, uint64_t host) "%s: 0x%"PRIx64"+0x%"PRIx64" @ 0x%"PRIx64 8vhost_section(const char *name, int r) "%s:%d" 9vhost_iotlb_miss(void *dev, int step) "%p step %d" 10 11# vhost-user.c 12vhost_user_postcopy_end_entry(void) "" 13vhost_user_postcopy_end_exit(void) "" 14vhost_user_postcopy_fault_handler(const char *name, uint64_t fault_address, int nregions) "%s: @0x%"PRIx64" nregions:%d" 15vhost_user_postcopy_fault_handler_loop(int i, uint64_t client_base, uint64_t size) "%d: client 0x%"PRIx64" +0x%"PRIx64 16vhost_user_postcopy_fault_handler_found(int i, uint64_t region_offset, uint64_t rb_offset) "%d: region_offset: 0x%"PRIx64" rb_offset:0x%"PRIx64 17vhost_user_postcopy_listen(void) "" 18vhost_user_set_mem_table_postcopy(uint64_t client_addr, uint64_t qhva, int reply_i, int region_i) "client:0x%"PRIx64" for hva: 0x%"PRIx64" reply %d region %d" 19vhost_user_set_mem_table_withfd(int index, const char *name, uint64_t memory_size, uint64_t guest_phys_addr, uint64_t userspace_addr, uint64_t offset) "%d:%s: size:0x%"PRIx64" GPA:0x%"PRIx64" QVA/userspace:0x%"PRIx64" RB offset:0x%"PRIx64 20vhost_user_postcopy_waker(const char *rb, uint64_t rb_offset) "%s + 0x%"PRIx64 21vhost_user_postcopy_waker_found(uint64_t client_addr) "0x%"PRIx64 22vhost_user_postcopy_waker_nomatch(const char *rb, uint64_t rb_offset) "%s + 0x%"PRIx64 23 24# virtio.c 25virtqueue_alloc_element(void *elem, size_t sz, unsigned in_num, unsigned out_num) "elem %p size %zd in_num %u out_num %u" 26virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u" 27virtqueue_flush(void *vq, unsigned int count) "vq %p count %u" 28virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u" 29virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p" 30virtio_notify_irqfd(void *vdev, void *vq) "vdev %p vq %p" 31virtio_notify(void *vdev, void *vq) "vdev %p vq %p" 32virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u" 33 34# virtio-rng.c 35virtio_rng_guest_not_ready(void *rng) "rng %p: guest not ready" 36virtio_rng_cpu_is_stopped(void *rng, int size) "rng %p: cpu is stopped, dropping %d bytes" 37virtio_rng_popped(void *rng) "rng %p: elem popped" 38virtio_rng_pushed(void *rng, size_t len) "rng %p: %zd bytes pushed" 39virtio_rng_request(void *rng, size_t size, unsigned quota) "rng %p: %zd bytes requested, %u bytes quota left" 40virtio_rng_vm_state_change(void *rng, int running, int state) "rng %p: state change to running %d state %d" 41 42# virtio-balloon.c 43# 44virtio_balloon_bad_addr(uint64_t gpa) "0x%"PRIx64 45virtio_balloon_handle_output(const char *name, uint64_t gpa) "section name: %s gpa: 0x%"PRIx64 46virtio_balloon_get_config(uint32_t num_pages, uint32_t actual) "num_pages: %d actual: %d" 47virtio_balloon_set_config(uint32_t actual, uint32_t oldactual) "actual: %d oldactual: %d" 48virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: 0x%"PRIx64" num_pages: %d" 49 50# virtio-mmio.c 51virtio_mmio_read(uint64_t offset) "virtio_mmio_read offset 0x%" PRIx64 52virtio_mmio_write_offset(uint64_t offset, uint64_t value) "virtio_mmio_write offset 0x%" PRIx64 " value 0x%" PRIx64 53virtio_mmio_guest_page(uint64_t size, int shift) "guest page size 0x%" PRIx64 " shift %d" 54virtio_mmio_queue_write(uint64_t value, int max_size) "mmio_queue write 0x%" PRIx64 " max %d" 55virtio_mmio_setting_irq(int level) "virtio_mmio setting IRQ %d" 56 57# hw/virtio/virtio-iommu.c 58virtio_iommu_device_reset(void) "reset!" 59virtio_iommu_get_features(uint64_t features) "device supports features=0x%"PRIx64 60virtio_iommu_device_status(uint8_t status) "driver status = %d" 61virtio_iommu_get_config(uint64_t page_size_mask, uint64_t start, uint64_t end, uint32_t domain_range, uint32_t probe_size) "page_size_mask=0x%"PRIx64" start=0x%"PRIx64" end=0x%"PRIx64" domain_range=%d probe_size=0x%x" 62virtio_iommu_set_config(uint64_t page_size_mask, uint64_t start, uint64_t end, uint32_t domain_range, uint32_t probe_size) "page_size_mask=0x%"PRIx64" start=0x%"PRIx64" end=0x%"PRIx64" domain_bits=%d probe_size=0x%x" 63virtio_iommu_attach(uint32_t domain_id, uint32_t ep_id) "domain=%d endpoint=%d" 64virtio_iommu_detach(uint32_t domain_id, uint32_t ep_id) "domain=%d endpoint=%d" 65virtio_iommu_map(uint32_t domain_id, uint64_t virt_start, uint64_t virt_end, uint64_t phys_start, uint32_t flags) "domain=%d virt_start=0x%"PRIx64" virt_end=0x%"PRIx64 " phys_start=0x%"PRIx64" flags=%d" 66virtio_iommu_unmap(uint32_t domain_id, uint64_t virt_start, uint64_t virt_end) "domain=%d virt_start=0x%"PRIx64" virt_end=0x%"PRIx64 67virtio_iommu_unmap_done(uint32_t domain_id, uint64_t virt_start, uint64_t virt_end) "domain=%d virt_start=0x%"PRIx64" virt_end=0x%"PRIx64 68virtio_iommu_translate(const char *name, uint32_t rid, uint64_t iova, int flag) "mr=%s rid=%d addr=0x%"PRIx64" flag=%d" 69virtio_iommu_init_iommu_mr(char *iommu_mr) "init %s" 70virtio_iommu_get_endpoint(uint32_t ep_id) "Alloc endpoint=%d" 71virtio_iommu_put_endpoint(uint32_t ep_id) "Free endpoint=%d" 72virtio_iommu_get_domain(uint32_t domain_id) "Alloc domain=%d" 73virtio_iommu_put_domain(uint32_t domain_id) "Free domain=%d" 74virtio_iommu_translate_out(uint64_t virt_addr, uint64_t phys_addr, uint32_t sid) "0x%"PRIx64" -> 0x%"PRIx64 " for sid=%d" 75virtio_iommu_report_fault(uint8_t reason, uint32_t flags, uint32_t endpoint, uint64_t addr) "FAULT reason=%d flags=%d endpoint=%d address =0x%"PRIx64 76