Hi, Pierrick > +static void print_access(unsigned int cpu_index, qemu_plugin_meminfo_t > meminfo, > + uint64_t vaddr, void *udata) > +{ > + unsigned size = 8 << qemu_plugin_mem_size_shift(meminfo); > + const char *type = qemu_plugin_mem_is_store(meminfo) ? "store" : "load"; > + uint64_t upper = qemu_plugin_mem_get_value_upper_bits(meminfo); > + uint64_t lower = qemu_plugin_mem_get_value_lower_bits(meminfo); > + const char *sym = udata ? udata : ""; > + g_autoptr(GString) out = g_string_new(""); > + g_string_printf(out, "access: 0x%.0"PRIx64"%"PRIx64",%d,%s,%s\n", > + upper, lower, size, type, sym); > + qemu_plugin_outs(out->str); > +} I think it may be helpful to output the GVA and GPA, can you append these information?
Thanks Xingtao