On Tue, 2 Jun 2020 at 16:54, Alex Bennée <alex.ben...@linaro.org> wrote: > > This is a plugin intended to help with profiling access to various > bits of system hardware. It only really makes sense for system > emulation. > > It takes advantage of the recently exposed helper API that allows us > to see the device name (memory region name) associated with a device.
This feels like we've let the plugin API get slightly more access to QEMU's internals than is ideal. Whether an area of memory happens to be an IO memory region or a memory-backed one (or whether a device is implemented with one region or three, or what names we happened to assign them) is kind of a QEMU internal implementation detail. thanks -- PMM