]>
Commit | Line | Data |
---|---|---|
1cf6ebc7 DB |
1 | # See docs/trace-events.txt for syntax documentation. |
2 | ||
3 | # hw/vfio/pci.c | |
4 | vfio_intx_interrupt(const char *name, char line) " (%s) Pin %c" | |
5 | vfio_intx_eoi(const char *name) " (%s) EOI" | |
6 | vfio_intx_enable_kvm(const char *name) " (%s) KVM INTx accel enabled" | |
7 | vfio_intx_disable_kvm(const char *name) " (%s) KVM INTx accel disabled" | |
8 | vfio_intx_update(const char *name, int new_irq, int target_irq) " (%s) IRQ moved %d -> %d" | |
9 | vfio_intx_enable(const char *name) " (%s)" | |
10 | vfio_intx_disable(const char *name) " (%s)" | |
11 | vfio_msi_interrupt(const char *name, int index, uint64_t addr, int data) " (%s) vector %d 0x%"PRIx64"/0x%x" | |
12 | vfio_msix_vector_do_use(const char *name, int index) " (%s) vector %d used" | |
13 | vfio_msix_vector_release(const char *name, int index) " (%s) vector %d released" | |
14 | vfio_msix_enable(const char *name) " (%s)" | |
15 | vfio_msix_pba_disable(const char *name) " (%s)" | |
16 | vfio_msix_pba_enable(const char *name) " (%s)" | |
17 | vfio_msix_disable(const char *name) " (%s)" | |
18 | vfio_msix_fixup(const char *name, int bar, uint64_t start, uint64_t end) " (%s) MSI-X region %d mmap fixup [0x%"PRIx64" - 0x%"PRIx64"]" | |
19 | vfio_msi_enable(const char *name, int nr_vectors) " (%s) Enabled %d MSI vectors" | |
20 | vfio_msi_disable(const char *name) " (%s)" | |
21 | vfio_pci_load_rom(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s ROM:\n size: 0x%lx, offset: 0x%lx, flags: 0x%lx" | |
22 | vfio_rom_read(const char *name, uint64_t addr, int size, uint64_t data) " (%s, 0x%"PRIx64", 0x%x) = 0x%"PRIx64 | |
23 | vfio_pci_size_rom(const char *name, int size) "%s ROM size 0x%x" | |
24 | vfio_vga_write(uint64_t addr, uint64_t data, int size) " (0x%"PRIx64", 0x%"PRIx64", %d)" | |
25 | vfio_vga_read(uint64_t addr, int size, uint64_t data) " (0x%"PRIx64", %d) = 0x%"PRIx64 | |
26 | vfio_pci_read_config(const char *name, int addr, int len, int val) " (%s, @0x%x, len=0x%x) %x" | |
27 | vfio_pci_write_config(const char *name, int addr, int val, int len) " (%s, @0x%x, 0x%x, len=0x%x)" | |
28 | vfio_msi_setup(const char *name, int pos) "%s PCI MSI CAP @0x%x" | |
29 | vfio_msix_early_setup(const char *name, int pos, int table_bar, int offset, int entries) "%s PCI MSI-X CAP @0x%x, BAR %d, offset 0x%x, entries %d" | |
30 | vfio_check_pcie_flr(const char *name) "%s Supports FLR via PCIe cap" | |
31 | vfio_check_pm_reset(const char *name) "%s Supports PM reset" | |
32 | vfio_check_af_flr(const char *name) "%s Supports FLR via AF cap" | |
33 | vfio_pci_hot_reset(const char *name, const char *type) " (%s) %s" | |
34 | vfio_pci_hot_reset_has_dep_devices(const char *name) "%s: hot reset dependent devices:" | |
35 | vfio_pci_hot_reset_dep_devices(int domain, int bus, int slot, int function, int group_id) "\t%04x:%02x:%02x.%x group %d" | |
36 | vfio_pci_hot_reset_result(const char *name, const char *result) "%s hot reset: %s" | |
37 | vfio_populate_device_config(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s config:\n size: 0x%lx, offset: 0x%lx, flags: 0x%lx" | |
38 | vfio_populate_device_get_irq_info_failure(void) "VFIO_DEVICE_GET_IRQ_INFO failure: %m" | |
39 | vfio_initfn(const char *name, int group_id) " (%s) group %d" | |
e37dac06 | 40 | vfio_add_ext_cap_dropped(const char *name, uint16_t cap, uint16_t offset) "%s %x@%x" |
1cf6ebc7 DB |
41 | vfio_pci_reset(const char *name) " (%s)" |
42 | vfio_pci_reset_flr(const char *name) "%s FLR/VFIO_DEVICE_RESET" | |
43 | vfio_pci_reset_pm(const char *name) "%s PCI PM Reset" | |
44 | vfio_pci_emulated_vendor_id(const char *name, uint16_t val) "%s %04x" | |
45 | vfio_pci_emulated_device_id(const char *name, uint16_t val) "%s %04x" | |
46 | vfio_pci_emulated_sub_vendor_id(const char *name, uint16_t val) "%s %04x" | |
47 | vfio_pci_emulated_sub_device_id(const char *name, uint16_t val) "%s %04x" | |
48 | ||
49 | # hw/vfio/pci-quirks. | |
50 | vfio_quirk_rom_blacklisted(const char *name, uint16_t vid, uint16_t did) "%s %04x:%04x" | |
51 | vfio_quirk_generic_window_address_write(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64 | |
52 | vfio_quirk_generic_window_data_read(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64 | |
53 | vfio_quirk_generic_window_data_write(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64 | |
54 | vfio_quirk_generic_mirror_read(const char *name, const char * region_name, uint64_t addr, uint64_t data) "%s %s 0x%"PRIx64": 0x%"PRIx64 | |
55 | vfio_quirk_generic_mirror_write(const char *name, const char * region_name, uint64_t addr, uint64_t data) "%s %s 0x%"PRIx64": 0x%"PRIx64 | |
56 | vfio_quirk_ati_3c3_read(const char *name, uint64_t data) "%s 0x%"PRIx64 | |
57 | vfio_quirk_ati_3c3_probe(const char *name) "%s" | |
58 | vfio_quirk_ati_bar4_probe(const char *name) "%s" | |
59 | vfio_quirk_ati_bar2_probe(const char *name) "%s" | |
60 | vfio_quirk_nvidia_3d0_state(const char *name, const char *state) "%s %s" | |
61 | vfio_quirk_nvidia_3d0_read(const char *name, uint8_t offset, unsigned size, uint64_t val) " (%s, @0x%x, len=0x%x) %"PRIx64 | |
62 | vfio_quirk_nvidia_3d0_write(const char *name, uint8_t offset, uint64_t data, unsigned size) "(%s, @0x%x, 0x%"PRIx64", len=0x%x)" | |
63 | vfio_quirk_nvidia_3d0_probe(const char *name) "%s" | |
64 | vfio_quirk_nvidia_bar5_state(const char *name, const char *state) "%s %s" | |
65 | vfio_quirk_nvidia_bar5_probe(const char *name) "%s" | |
66 | vfio_quirk_nvidia_bar0_msi_ack(const char *name) "%s" | |
67 | vfio_quirk_nvidia_bar0_probe(const char *name) "%s" | |
68 | vfio_quirk_rtl8168_fake_latch(const char *name, uint64_t val) "%s 0x%"PRIx64 | |
69 | vfio_quirk_rtl8168_msix_write(const char *name, uint16_t offset, uint64_t val) "%s MSI-X table write[0x%x]: 0x%"PRIx64 | |
70 | vfio_quirk_rtl8168_msix_read(const char *name, uint16_t offset, uint64_t val) "%s MSI-X table read[0x%x]: 0x%"PRIx64 | |
71 | vfio_quirk_rtl8168_probe(const char *name) "%s" | |
72 | ||
73 | vfio_quirk_ati_bonaire_reset_skipped(const char *name) "%s" | |
74 | vfio_quirk_ati_bonaire_reset_no_smc(const char *name) "%s" | |
75 | vfio_quirk_ati_bonaire_reset_timeout(const char *name) "%s" | |
76 | vfio_quirk_ati_bonaire_reset_done(const char *name) "%s" | |
77 | vfio_quirk_ati_bonaire_reset(const char *name) "%s" | |
78 | vfio_pci_igd_bar4_write(const char *name, uint32_t index, uint32_t data, uint32_t base) "%s [%03x] %08x -> %08x" | |
79 | vfio_pci_igd_bdsm_enabled(const char *name, int size) "%s %dMB" | |
80 | vfio_pci_igd_opregion_enabled(const char *name) "%s" | |
81 | vfio_pci_igd_host_bridge_enabled(const char *name) "%s" | |
82 | vfio_pci_igd_lpc_bridge_enabled(const char *name) "%s" | |
83 | ||
84 | # hw/vfio/common.c | |
85 | vfio_region_write(const char *name, int index, uint64_t addr, uint64_t data, unsigned size) " (%s:region%d+0x%"PRIx64", 0x%"PRIx64 ", %d)" | |
86 | vfio_region_read(char *name, int index, uint64_t addr, unsigned size, uint64_t data) " (%s:region%d+0x%"PRIx64", %d) = 0x%"PRIx64 | |
87 | vfio_iommu_map_notify(uint64_t iova_start, uint64_t iova_end) "iommu map @ %"PRIx64" - %"PRIx64 | |
88 | vfio_listener_region_add_skip(uint64_t start, uint64_t end) "SKIPPING region_add %"PRIx64" - %"PRIx64 | |
89 | vfio_listener_region_add_iommu(uint64_t start, uint64_t end) "region_add [iommu] %"PRIx64" - %"PRIx64 | |
90 | vfio_listener_region_add_ram(uint64_t iova_start, uint64_t iova_end, void *vaddr) "region_add [ram] %"PRIx64" - %"PRIx64" [%p]" | |
91 | vfio_listener_region_del_skip(uint64_t start, uint64_t end) "SKIPPING region_del %"PRIx64" - %"PRIx64 | |
92 | vfio_listener_region_del(uint64_t start, uint64_t end) "region_del %"PRIx64" - %"PRIx64 | |
93 | vfio_disconnect_container(int fd) "close container->fd=%d" | |
94 | vfio_put_group(int fd) "close group->fd=%d" | |
95 | vfio_get_device(const char * name, unsigned int flags, unsigned int num_regions, unsigned int num_irqs) "Device %s flags: %u, regions: %u, irqs: %u" | |
96 | vfio_put_base_device(int fd) "close vdev->fd=%d" | |
97 | vfio_region_setup(const char *dev, int index, const char *name, unsigned long flags, unsigned long offset, unsigned long size) "Device %s, region %d \"%s\", flags: %lx, offset: %lx, size: %lx" | |
98 | vfio_region_mmap_fault(const char *name, int index, unsigned long offset, unsigned long size, int fault) "Region %s mmaps[%d], [%lx - %lx], fault: %d" | |
99 | vfio_region_mmap(const char *name, unsigned long offset, unsigned long end) "Region %s [%lx - %lx]" | |
100 | vfio_region_exit(const char *name, int index) "Device %s, region %d" | |
101 | vfio_region_finalize(const char *name, int index) "Device %s, region %d" | |
102 | vfio_region_mmaps_set_enabled(const char *name, bool enabled) "Region %s mmaps enabled: %d" | |
103 | vfio_region_sparse_mmap_header(const char *name, int index, int nr_areas) "Device %s region %d: %d sparse mmap entries" | |
104 | vfio_region_sparse_mmap_entry(int i, unsigned long start, unsigned long end) "sparse entry %d [0x%lx - 0x%lx]" | |
105 | vfio_get_dev_region(const char *name, int index, uint32_t type, uint32_t subtype) "%s index %d, %08x/%0x8" | |
106 | ||
107 | # hw/vfio/platform.c | |
108 | vfio_platform_base_device_init(char *name, int groupid) "%s belongs to group #%d" | |
109 | vfio_platform_realize(char *name, char *compat) "vfio device %s, compat = %s" | |
110 | vfio_platform_eoi(int pin, int fd) "EOI IRQ pin %d (fd=%d)" | |
111 | vfio_platform_intp_mmap_enable(int pin) "IRQ #%d still active, stay in slow path" | |
112 | vfio_platform_intp_interrupt(int pin, int fd) "Inject IRQ #%d (fd = %d)" | |
113 | vfio_platform_intp_inject_pending_lockheld(int pin, int fd) "Inject pending IRQ #%d (fd = %d)" | |
114 | vfio_platform_populate_interrupts(int pin, int count, int flags) "- IRQ index %d: count %d, flags=0x%x" | |
115 | vfio_intp_interrupt_set_pending(int index) "irq %d is set PENDING" | |
116 | vfio_platform_start_level_irqfd_injection(int index, int fd, int resamplefd) "IRQ index=%d, fd = %d, resamplefd = %d" | |
117 | vfio_platform_start_edge_irqfd_injection(int index, int fd) "IRQ index=%d, fd = %d" | |
318f67ce AK |
118 | |
119 | # hw/vfio/spapr.c | |
120 | vfio_prereg_listener_region_add_skip(uint64_t start, uint64_t end) "%"PRIx64" - %"PRIx64 | |
121 | vfio_prereg_listener_region_del_skip(uint64_t start, uint64_t end) "%"PRIx64" - %"PRIx64 | |
122 | vfio_prereg_register(uint64_t va, uint64_t size, int ret) "va=%"PRIx64" size=%"PRIx64" ret=%d" | |
123 | vfio_prereg_unregister(uint64_t va, uint64_t size, int ret) "va=%"PRIx64" size=%"PRIx64" ret=%d" | |
2e4109de AK |
124 | vfio_spapr_create_window(int ps, uint64_t ws, uint64_t off) "pageshift=0x%x winsize=0x%"PRIx64" offset=0x%"PRIx64 |
125 | vfio_spapr_remove_window(uint64_t off) "offset=%"PRIx64 |