xref: /openbmc/qemu/hw/xen/trace-events (revision 637b0aa1)
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-common.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"
58cpu_get_ioreq_from_shared_memory_req_not_ready(int state, int data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O request not ready: 0x%x, ptr: 0x%x, port: 0x%"PRIx64", data: 0x%"PRIx64", count: %u, size: %u"
59xen_main_loop_prepare_init_cpu(int id, void *cpu) "cpu_by_vcpu_id[%d]=%p"
60xen_map_ioreq_server_shared_page(long unsigned int ioreq_pfn) "shared page at pfn 0x%lx"
61xen_map_ioreq_server_buffered_io_page(long unsigned int ioreq_pfn) "buffered io page at pfn 0x%lx"
62xen_map_ioreq_server_buffered_io_evtchn(int bufioreq_evtchn) "buffered io evtchn is 0x%x"
63destroy_hvm_domain_cannot_acquire_handle(void) "Cannot acquire xenctrl handle"
64destroy_hvm_domain_failed_action(const char *action, int sts, char *errno_s) "xc_domain_shutdown failed to issue %s, sts %d, %s"
65destroy_hvm_domain_action(int xen_domid, const char *action) "Issued domain %d %s"
66
67# xen-pvh-common.c
68xen_create_virtio_mmio_devices(int i, int irq, uint64_t base) "Created virtio-mmio device %d: irq %d base 0x%"PRIx64
69xen_enable_tpm(uint64_t addr) "Connected tpmdev at address 0x%"PRIx64
70
71# xen-mapcache.c
72xen_map_cache(uint64_t phys_addr) "want 0x%"PRIx64
73xen_remap_bucket(uint64_t index) "index 0x%"PRIx64
74xen_map_cache_return(void* ptr) "%p"
75xen_map_cache_init(uint64_t nr_buckets, uint64_t size) "nr_buckets = 0x%"PRIx64" size 0x%"PRIx64
76xen_replace_cache_entry_dummy(uint64_t old_phys_addr, uint64_t new_phys_addr) "Replacing a dummy mapcache entry for 0x%"PRIx64" with 0x%"PRIx64
77xen_invalidate_map_cache_entry_unlocked_not_found(void *p) "could not find %p"
78xen_invalidate_map_cache_entry_unlocked_found(uint64_t addr, void *p) "   0x%"PRIx64" -> %p is present"
79xen_invalidate_map_cache_entry_unlocked_miss(void *buffer) "Trying to unmap address %p that is not in the mapcache"
80xen_replace_cache_entry_unlocked_could_not_update_entry(uint64_t old_phys_addr) "Unable to update a mapcache entry for 0x%"PRIx64
81xen_ram_addr_from_mapcache_not_found(void *p) "could not find %p"
82xen_ram_addr_from_mapcache_found(uint64_t addr, void *p) "   0x%"PRIx64" -> %p is present"
83xen_ram_addr_from_mapcache_not_in_cache(void *p) "Trying to find address %p that is not in the mapcache"
84xen_replace_cache_entry_unlocked(uint64_t old_phys_addr) "Trying to update an entry for 0x%"PRIx64" that is not in the mapcache"
85xen_invalidate_map_cache(uint64_t paddr_index, void *vaddr_req) "Locked DMA mapping while invalidating mapcache 0x%"PRIx64" -> %p is present"
86