xref: /qemu/hw/xen/trace-events (revision ebda3036)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# ../../include/hw/xen/xen_native.h
4xen_default_ioreq_server(void) ""
5xen_ioreq_server_create(uint32_t id) "id: %u"
6xen_ioreq_server_destroy(uint32_t id) "id: %u"
7xen_ioreq_server_state(uint32_t id, bool enable) "id: %u: enable: %i"
8xen_map_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
9xen_unmap_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
10xen_map_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
11xen_unmap_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
12xen_map_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
13xen_unmap_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
14xen_domid_restrict(int err) "err: %u"
15
16# xen-bus.c
17xen_bus_realize(void) ""
18xen_bus_unrealize(void) ""
19xen_bus_enumerate(void) ""
20xen_bus_cleanup(void) ""
21xen_bus_type_enumerate(const char *type) "type: %s"
22xen_bus_backend_create(const char *type, const char *path) "type: %s path: %s"
23xen_bus_device_cleanup(const char *type, char *name) "type: %s name: %s"
24xen_bus_add_watch(const char *node, const char *key) "node: %s key: %s"
25xen_bus_remove_watch(const char *node, const char *key) "node: %s key: %s"
26xen_device_realize(const char *type, char *name) "type: %s name: %s"
27xen_device_unrealize(const char *type, char *name) "type: %s name: %s"
28xen_device_backend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
29xen_device_backend_online(const char *type, char *name, bool online) "type: %s name: %s -> %u"
30xen_device_backend_changed(const char *type, char *name) "type: %s name: %s"
31xen_device_frontend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
32xen_device_frontend_changed(const char *type, char *name) "type: %s name: %s"
33xen_device_unplug(const char *type, char *name) "type: %s name: %s"
34xen_device_add_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s"
35xen_device_remove_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s"
36
37# xen-bus-helper.c
38xs_node_create(const char *node) "%s"
39xs_node_destroy(const char *node) "%s"
40xs_node_vprintf(char *path, char *value) "%s %s"
41xs_node_vscanf(char *path, char *value) "%s %s"
42xs_node_watch(char *path) "%s"
43xs_node_unwatch(char *path) "%s"
44
45# xen-hvm.c
46xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: 0x%lx, size 0x%lx"
47xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "0x%"PRIx64" size 0x%lx, log_dirty %i"
48handle_ioreq(void *req, uint32_t type, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p type=%d dir=%d df=%d ptr=%d port=0x%"PRIx64" data=0x%"PRIx64" count=%d size=%d"
49handle_ioreq_read(void *req, uint32_t type, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p read type=%d df=%d ptr=%d port=0x%"PRIx64" data=0x%"PRIx64" count=%d size=%d"
50handle_ioreq_write(void *req, uint32_t type, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p write type=%d df=%d ptr=%d port=0x%"PRIx64" data=0x%"PRIx64" count=%d size=%d"
51cpu_ioreq_pio(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p pio dir=%d df=%d ptr=%d port=0x%"PRIx64" data=0x%"PRIx64" count=%d size=%d"
52cpu_ioreq_pio_read_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio read reg data=0x%"PRIx64" port=0x%"PRIx64" size=%d"
53cpu_ioreq_pio_write_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio write reg data=0x%"PRIx64" port=0x%"PRIx64" size=%d"
54cpu_ioreq_move(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p copy dir=%d df=%d ptr=%d port=0x%"PRIx64" data=0x%"PRIx64" count=%d size=%d"
55xen_map_resource_ioreq(uint32_t id, void *addr) "id: %u addr: %p"
56cpu_ioreq_config_read(void *req, uint32_t sbdf, uint32_t reg, uint32_t size, uint32_t data) "I/O=%p sbdf=0x%x reg=%u size=%u data=0x%x"
57cpu_ioreq_config_write(void *req, uint32_t sbdf, uint32_t reg, uint32_t size, uint32_t data) "I/O=%p sbdf=0x%x reg=%u size=%u data=0x%x"
58
59# xen-mapcache.c
60xen_map_cache(uint64_t phys_addr) "want 0x%"PRIx64
61xen_remap_bucket(uint64_t index) "index 0x%"PRIx64
62xen_map_cache_return(void* ptr) "%p"
63