Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging
[qemu/kevin.git] / hw / xen / trace-events
blobd1b27f6c11b0895dde702056e19debdfc1fb39c3
1 # See docs/devel/tracing.rst for syntax documentation.
3 # ../../include/hw/xen/xen_native.h
4 xen_default_ioreq_server(void) ""
5 xen_ioreq_server_create(uint32_t id) "id: %u"
6 xen_ioreq_server_destroy(uint32_t id) "id: %u"
7 xen_ioreq_server_state(uint32_t id, bool enable) "id: %u: enable: %i"
8 xen_map_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
9 xen_unmap_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
10 xen_map_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
11 xen_unmap_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: 0x%"PRIx64" end: 0x%"PRIx64
12 xen_map_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
13 xen_unmap_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
14 xen_domid_restrict(int err) "err: %u"
16 # xen-bus.c
17 xen_bus_realize(void) ""
18 xen_bus_unrealize(void) ""
19 xen_bus_enumerate(void) ""
20 xen_bus_cleanup(void) ""
21 xen_bus_type_enumerate(const char *type) "type: %s"
22 xen_bus_backend_create(const char *type, const char *path) "type: %s path: %s"
23 xen_bus_device_cleanup(const char *type, char *name) "type: %s name: %s"
24 xen_bus_add_watch(const char *node, const char *key) "node: %s key: %s"
25 xen_bus_remove_watch(const char *node, const char *key) "node: %s key: %s"
26 xen_device_realize(const char *type, char *name) "type: %s name: %s"
27 xen_device_unrealize(const char *type, char *name) "type: %s name: %s"
28 xen_device_backend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
29 xen_device_backend_online(const char *type, char *name, bool online) "type: %s name: %s -> %u"
30 xen_device_backend_changed(const char *type, char *name) "type: %s name: %s"
31 xen_device_frontend_state(const char *type, char *name, const char *state) "type: %s name: %s -> %s"
32 xen_device_frontend_changed(const char *type, char *name) "type: %s name: %s"
33 xen_device_unplug(const char *type, char *name) "type: %s name: %s"
34 xen_device_add_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s"
35 xen_device_remove_watch(const char *type, char *name, const char *node, const char *key) "type: %s name: %s node: %s key: %s"
37 # xen-bus-helper.c
38 xs_node_create(const char *node) "%s"
39 xs_node_destroy(const char *node) "%s"
40 xs_node_vprintf(char *path, char *value) "%s %s"
41 xs_node_vscanf(char *path, char *value) "%s %s"
42 xs_node_watch(char *path) "%s"
43 xs_node_unwatch(char *path) "%s"
45 # xen-hvm-common.c
46 xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: 0x%lx, size 0x%lx"
47 xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "0x%"PRIx64" size 0x%lx, log_dirty %i"
48 handle_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"
49 handle_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"
50 handle_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"
51 cpu_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"
52 cpu_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"
53 cpu_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"
54 cpu_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"
55 xen_map_resource_ioreq(uint32_t id, void *addr) "id: %u addr: %p"
56 cpu_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"
57 cpu_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 cpu_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"
59 xen_main_loop_prepare_init_cpu(int id, void *cpu) "cpu_by_vcpu_id[%d]=%p"
60 xen_map_ioreq_server_shared_page(long unsigned int ioreq_pfn) "shared page at pfn 0x%lx"
61 xen_map_ioreq_server_buffered_io_page(long unsigned int ioreq_pfn) "buffered io page at pfn 0x%lx"
62 xen_map_ioreq_server_buffered_io_evtchn(int bufioreq_evtchn) "buffered io evtchn is 0x%x"
63 destroy_hvm_domain_cannot_acquire_handle(void) "Cannot acquire xenctrl handle"
64 destroy_hvm_domain_failed_action(const char *action, int sts, char *errno_s) "xc_domain_shutdown failed to issue %s, sts %d, %s"
65 destroy_hvm_domain_action(int xen_domid, const char *action) "Issued domain %d %s"
67 # xen-mapcache.c
68 xen_map_cache(uint64_t phys_addr) "want 0x%"PRIx64
69 xen_remap_bucket(uint64_t index) "index 0x%"PRIx64
70 xen_map_cache_return(void* ptr) "%p"
71 xen_map_cache_init(uint64_t nr_buckets, uint64_t size) "nr_buckets = 0x%"PRIx64" size 0x%"PRIx64
72 xen_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
73 xen_invalidate_map_cache_entry_unlocked_not_found(void *p) "could not find %p"
74 xen_invalidate_map_cache_entry_unlocked_found(uint64_t addr, void *p) "   0x%"PRIx64" -> %p is present"
75 xen_invalidate_map_cache_entry_unlocked_miss(void *buffer) "Trying to unmap address %p that is not in the mapcache"
76 xen_replace_cache_entry_unlocked_could_not_update_entry(uint64_t old_phys_addr) "Unable to update a mapcache entry for 0x%"PRIx64
77 xen_ram_addr_from_mapcache_not_found(void *p) "could not find %p"
78 xen_ram_addr_from_mapcache_found(uint64_t addr, void *p) "   0x%"PRIx64" -> %p is present"
79 xen_ram_addr_from_mapcache_not_in_cache(void *p) "Trying to find address %p that is not in the mapcache"
80 xen_replace_cache_entry_unlocked(uint64_t old_phys_addr) "Trying to update an entry for 0x%"PRIx64" that is not in the mapcache"
81 xen_invalidate_map_cache(uint64_t paddr_index, void *vaddr_req) "Locked DMA mapping while invalidating mapcache 0x%"PRIx64" -> %p is present"