aboutsummaryrefslogtreecommitdiff
path: root/tests/plugin
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-06-05 16:49:18 +0100
committerAlex Bennée <alex.bennee@linaro.org>2020-06-08 16:59:31 +0100
commit4e62bfa9ee54d071c656d12057b7d293ca22d423 (patch)
tree88e966e66f571652aa3bdfaf2835ccad7c617765 /tests/plugin
parenta6703e65ecfe3a57f122abdf1f8353fb60927a43 (diff)
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>
Diffstat (limited to 'tests/plugin')
-rw-r--r--tests/plugin/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin/mem.c b/tests/plugin/mem.c
index 878abf09d1..4725bd851d 100644
--- a/tests/plugin/mem.c
+++ b/tests/plugin/mem.c
@@ -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);
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);
}