]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
trace: use addresses instead of offsets in memory tracepoints
authorHollis Blanchard <hollis_blanchard@mentor.com>
Tue, 9 Feb 2016 00:03:05 +0000 (16:03 -0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Mar 2016 13:20:15 +0000 (13:20 +0000)
commit4779dc1d19f0e3e20d2d4843b988c72b9235bbe0
tree3784536bc3470bf5b0fa14b47ad73284f13f2c75
parent23d92d68e72503dfb9fa1dba89f02f5488377b6c
trace: use addresses instead of offsets in memory tracepoints

When memory_region_ops tracepoints are enabled, calculate and record the
absolute address being accessed. Otherwise, we only get offsets into the
memory region instead of addresses.

[Fixed "offset" -> "addr" in trace event format strings.
--Stefan]

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Message-id: 1454976185-30095-3-git-send-email-hollis_blanchard@mentor.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
memory.c
trace-events