]> Git Repo - qemu.git/commit - trace-events
exec: Adjust notdirty tracing
authorRichard Henderson <[email protected]>
Wed, 18 Sep 2019 03:39:56 +0000 (03:39 +0000)
committerRichard Henderson <[email protected]>
Wed, 25 Sep 2019 17:38:07 +0000 (10:38 -0700)
commit6e050d415662ca97b71410b8c4d91f789872b407
tree5a1822ace133fcf0afbe4124c69f9338703520cd
parent5b87b3e671c00fd054bcbf4668d99d56b33c598c
exec: Adjust notdirty tracing

The memory_region_tb_read tracepoint is unreachable, since notdirty
is supposed to apply only to writes.  The memory_region_tb_write
tracepoint is mis-named, because notdirty is not only used for TB
invalidation.  It is also used for e.g. VGA RAM updates and migration.

Replace memory_region_tb_write with memory_notdirty_write_access,
and place it in memory_notdirty_write_prepare where it can catch
all of the instances.  Add memory_notdirty_set_dirty to log when
we no longer intercept writes to a page.

Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
exec.c
memory.c
trace-events
This page took 0.024647 seconds and 4 git commands to generate.