[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 13/14] vfio: Alphabetize migration section of VFIO trace-event
From: |
Avihai Horon |
Subject: |
[PATCH v5 13/14] vfio: Alphabetize migration section of VFIO trace-events file |
Date: |
Thu, 29 Dec 2022 13:03:44 +0200 |
Sort the migration section of VFIO trace events file alphabetically
and move two misplaced traces to common.c section.
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
---
hw/vfio/trace-events | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/hw/vfio/trace-events b/hw/vfio/trace-events
index 60c49b2ecf..db9cb94952 100644
--- a/hw/vfio/trace-events
+++ b/hw/vfio/trace-events
@@ -119,6 +119,8 @@ vfio_region_sparse_mmap_header(const char *name, int index,
int nr_areas) "Devic
vfio_region_sparse_mmap_entry(int i, unsigned long start, unsigned long end)
"sparse entry %d [0x%lx - 0x%lx]"
vfio_get_dev_region(const char *name, int index, uint32_t type, uint32_t
subtype) "%s index %d, %08x/%0x8"
vfio_dma_unmap_overflow_workaround(void) ""
+vfio_get_dirty_bitmap(int fd, uint64_t iova, uint64_t size, uint64_t
bitmap_size, uint64_t start) "container fd=%d, iova=0x%"PRIx64" size=
0x%"PRIx64" bitmap_size=0x%"PRIx64" start=0x%"PRIx64
+vfio_iommu_map_dirty_notify(uint64_t iova_start, uint64_t iova_end) "iommu
dirty @ 0x%"PRIx64" - 0x%"PRIx64
# platform.c
vfio_platform_base_device_init(char *name, int groupid) "%s belongs to group
#%d"
@@ -148,20 +150,18 @@ vfio_display_edid_update(uint32_t prefx, uint32_t prefy)
"%ux%u"
vfio_display_edid_write_error(void) ""
# migration.c
+vfio_load_cleanup(const char *name) " (%s)"
+vfio_load_device_config_state(const char *name) " (%s)"
+vfio_load_state(const char *name, uint64_t data) " (%s) data 0x%"PRIx64
+vfio_load_state_device_data(const char *name, uint64_t data_size, int ret) "
(%s) size 0x%"PRIx64" ret %d"
+vfio_migration_data_notifier(const char *name, uint64_t stopcopy_size) " (%s)
stopcopy size 0x%"PRIx64
vfio_migration_probe(const char *name) " (%s)"
vfio_migration_set_state(const char *name, const char *state) " (%s) state %s"
-vfio_vmstate_change(const char *name, int running, const char *reason, const
char *dev_state) " (%s) running %d reason %s device state %s"
vfio_migration_state_notifier(const char *name, const char *state) " (%s)
state %s"
-vfio_save_setup(const char *name, uint64_t data_buffer_size) " (%s) data
buffer size 0x%"PRIx64
+vfio_save_block(const char *name, int data_size) " (%s) data_size %d"
vfio_save_cleanup(const char *name) " (%s)"
+vfio_save_complete_precopy(const char *name, int ret) " (%s) ret %d"
vfio_save_device_config_state(const char *name) " (%s)"
vfio_save_pending(const char *name, uint64_t precopy, uint64_t postcopy,
uint64_t compatible, uint64_t stopcopy_size) " (%s) precopy 0x%"PRIx64"
postcopy 0x%"PRIx64" compatible 0x%"PRIx64" stopcopy size 0x%"PRIx64
-vfio_save_complete_precopy(const char *name, int ret) " (%s) ret %d"
-vfio_load_device_config_state(const char *name) " (%s)"
-vfio_load_state(const char *name, uint64_t data) " (%s) data 0x%"PRIx64
-vfio_load_state_device_data(const char *name, uint64_t data_size, int ret) "
(%s) size 0x%"PRIx64" ret %d"
-vfio_load_cleanup(const char *name) " (%s)"
-vfio_get_dirty_bitmap(int fd, uint64_t iova, uint64_t size, uint64_t
bitmap_size, uint64_t start) "container fd=%d, iova=0x%"PRIx64" size=
0x%"PRIx64" bitmap_size=0x%"PRIx64" start=0x%"PRIx64
-vfio_iommu_map_dirty_notify(uint64_t iova_start, uint64_t iova_end) "iommu
dirty @ 0x%"PRIx64" - 0x%"PRIx64
-vfio_save_block(const char *name, int data_size) " (%s) data_size %d"
-vfio_migration_data_notifier(const char *name, uint64_t stopcopy_size) " (%s)
stopcopy size 0x%"PRIx64
+vfio_save_setup(const char *name, uint64_t data_buffer_size) " (%s) data
buffer size 0x%"PRIx64
+vfio_vmstate_change(const char *name, int running, const char *reason, const
char *dev_state) " (%s) running %d reason %s device state %s"
--
2.26.3
- [PATCH v5 01/14] linux-headers: Update to v6.2-rc1, (continued)
- [PATCH v5 01/14] linux-headers: Update to v6.2-rc1, Avihai Horon, 2022/12/29
- [PATCH v5 02/14] migration: No save_live_pending() method uses the QEMUFile parameter, Avihai Horon, 2022/12/29
- [PATCH v5 03/14] migration: Simplify migration_iteration_run(), Avihai Horon, 2022/12/29
- [PATCH v5 04/14] vfio/migration: Fix NULL pointer dereference bug, Avihai Horon, 2022/12/29
- [PATCH v5 05/14] vfio/migration: Allow migration without VFIO IOMMU dirty tracking support, Avihai Horon, 2022/12/29
- [PATCH v5 07/14] vfio/common: Change vfio_devices_all_running_and_saving() logic to equivalent one, Avihai Horon, 2022/12/29
- [PATCH v5 06/14] migration/qemu-file: Add qemu_file_get_to_fd(), Avihai Horon, 2022/12/29
- [PATCH v5 08/14] vfio/migration: Move migration v1 logic to vfio_migration_init(), Avihai Horon, 2022/12/29
- [PATCH v5 09/14] vfio/migration: Rename functions/structs related to v1 protocol, Avihai Horon, 2022/12/29
- [PATCH v5 10/14] vfio/migration: Implement VFIO migration protocol v2, Avihai Horon, 2022/12/29
- [PATCH v5 13/14] vfio: Alphabetize migration section of VFIO trace-events file,
Avihai Horon <=
- [PATCH v5 12/14] vfio/migration: Remove VFIO migration protocol v1, Avihai Horon, 2022/12/29
- [PATCH v5 14/14] docs/devel: Align VFIO migration docs to v2 protocol, Avihai Horon, 2022/12/29
- [PATCH v5 11/14] vfio/migration: Optimize vfio_save_pending(), Avihai Horon, 2022/12/29