mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-15 15:32:51 +00:00
tests/plugin: correctly honour io_count
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200605154929.26910-4-alex.bennee@linaro.org>
This commit is contained in:
parent
a6703e65ec
commit
4e62bfa9ee
|
@ -28,7 +28,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p)
|
||||||
|
|
||||||
g_string_printf(out, "mem accesses: %" PRIu64 "\n", mem_count);
|
g_string_printf(out, "mem accesses: %" PRIu64 "\n", mem_count);
|
||||||
if (do_haddr) {
|
if (do_haddr) {
|
||||||
g_string_append_printf(out, "io accesses: %" PRIu64 "\n", mem_count);
|
g_string_append_printf(out, "io accesses: %" PRIu64 "\n", io_count);
|
||||||
}
|
}
|
||||||
qemu_plugin_outs(out->str);
|
qemu_plugin_outs(out->str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue