From 4e62bfa9ee54d071c656d12057b7d293ca22d423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Fri, 5 Jun 2020 16:49:18 +0100 Subject: tests/plugin: correctly honour io_count MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20200605154929.26910-4-alex.bennee@linaro.org> --- tests/plugin/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/plugin') diff --git a/tests/plugin/mem.c b/tests/plugin/mem.c index 878abf0..4725bd8 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); } -- cgit v1.1