aboutsummaryrefslogtreecommitdiff
path: root/scripts/cleanup-trace-events.pl
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2021-11-30 16:00:28 +0800
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-01-18 10:45:35 +0100
commit7b0538ed3a22ce30817f818449d10701fb0821f9 (patch)
treea40a5c4723004454c4e74f4fde946847c27765ca /scripts/cleanup-trace-events.pl
parent455faf03df1a9beff236e3b194cad93e4b014076 (diff)
downloadqemu-7b0538ed3a22ce30817f818449d10701fb0821f9.zip
qemu-7b0538ed3a22ce30817f818449d10701fb0821f9.tar.gz
qemu-7b0538ed3a22ce30817f818449d10701fb0821f9.tar.bz2
memory: Fix incorrect calls of log_global_start/stop
We should only call the log_global_start/stop when the global dirty track bitmask changes from zero<->non-zero. No real issue reported for this yet probably because no immediate user to enable both dirty rate measurement and migration at the same time. However it'll be good to be prepared for it. Fixes: 63b41db4bc ("memory: make global_dirty_tracking a bitmask") Cc: qemu-stable@nongnu.org Cc: Hyman Huang <huangy81@chinatelecom.cn> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Juan Quintela <quintela@redhat.com> Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20211130080028.6474-1-peterx@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts/cleanup-trace-events.pl')
0 files changed, 0 insertions, 0 deletions