diff options
author | Peter Xu | 2021-08-17 03:37:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-09-30 15:30:24 +0200 |
commit | fcb3ab341accb8ed897f148238cae0324ed89d2c (patch) | |
tree | ebe4e256168bf72f272e4d502fe649383be5bef9 /softmmu/trace-events | |
parent | memory: Name all the memory listeners (diff) | |
download | qemu-fcb3ab341accb8ed897f148238cae0324ed89d2c.tar.gz qemu-fcb3ab341accb8ed897f148238cae0324ed89d2c.tar.xz qemu-fcb3ab341accb8ed897f148238cae0324ed89d2c.zip |
memory: Add tracepoint for dirty sync
Trace at memory_region_sync_dirty_bitmap() for log_sync() or global_log_sync()
on memory regions. One trace line should suffice when it finishes, so as to
estimate the time used for each log sync process.
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210817013706.30986-1-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu/trace-events')
-rw-r--r-- | softmmu/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/trace-events b/softmmu/trace-events index 7b278590a0..bf1469990e 100644 --- a/softmmu/trace-events +++ b/softmmu/trace-events @@ -15,6 +15,7 @@ memory_region_subpage_read(int cpu_index, void *mr, uint64_t offset, uint64_t va memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t value, unsigned size) "cpu %d mr %p offset 0x%"PRIx64" value 0x%"PRIx64" size %u" memory_region_ram_device_read(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u" memory_region_ram_device_write(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr 0x%"PRIx64" value 0x%"PRIx64" size %u" +memory_region_sync_dirty(const char *mr, const char *listener, int global) "mr '%s' listener '%s' synced (global=%d)" flatview_new(void *view, void *root) "%p (root %p)" flatview_destroy(void *view, void *root) "%p (root %p)" flatview_destroy_rcu(void *view, void *root) "%p (root %p)" |