xref: /openbmc/qemu/hw/virtio/trace-events (revision a37eaa53)
1# See docs/devel/tracing.txt for syntax documentation.
2
3# hw/virtio/virtio.c
4virtqueue_alloc_element(void *elem, size_t sz, unsigned in_num, unsigned out_num) "elem %p size %zd in_num %u out_num %u"
5virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
6virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
7virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u"
8virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
9virtio_notify_irqfd(void *vdev, void *vq) "vdev %p vq %p"
10virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
11virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u"
12
13# hw/virtio/virtio-rng.c
14virtio_rng_guest_not_ready(void *rng) "rng %p: guest not ready"
15virtio_rng_cpu_is_stopped(void *rng, int size) "rng %p: cpu is stopped, dropping %d bytes"
16virtio_rng_popped(void *rng) "rng %p: elem popped"
17virtio_rng_pushed(void *rng, size_t len) "rng %p: %zd bytes pushed"
18virtio_rng_request(void *rng, size_t size, unsigned quota) "rng %p: %zd bytes requested, %u bytes quota left"
19virtio_rng_vm_state_change(void *rng, int running, int state) "rng %p: state change to running %d state %d"
20
21# hw/virtio/virtio-balloon.c
22#
23virtio_balloon_bad_addr(uint64_t gpa) "0x%"PRIx64
24virtio_balloon_handle_output(const char *name, uint64_t gpa) "section name: %s gpa: 0x%"PRIx64
25virtio_balloon_get_config(uint32_t num_pages, uint32_t actual) "num_pages: %d actual: %d"
26virtio_balloon_set_config(uint32_t actual, uint32_t oldactual) "actual: %d oldactual: %d"
27virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: 0x%"PRIx64" num_pages: %d"
28
29# hw/virtio/vhost.c
30vhost_region_add(void *p, const char *mr) "dev %p mr %s"
31vhost_region_del(void *p, const char *mr) "dev %p mr %s"
32vhost_iommu_region_add(void *p, const char *mr) "dev %p mr %s"
33vhost_iommu_region_del(void *p, const char *mr) "dev %p mr %s"
34