summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorPaolo Bonzini2013-07-28 14:57:22 +0200
committerAnthony Liguori2013-07-29 17:37:10 +0200
commit55d5d04884305e17b24f378a9ec616bf7354c1ca (patch)
tree3ac7611c3e1153f2aebc42c1e6ef1d48594f8960 /trace-events
parenttpm.c: Don't try to put -1 in a variable of type TpmModel (diff)
downloadqemu-55d5d04884305e17b24f378a9ec616bf7354c1ca.tar.gz
qemu-55d5d04884305e17b24f378a9ec616bf7354c1ca.tar.xz
qemu-55d5d04884305e17b24f378a9ec616bf7354c1ca.zip
memory: add tracepoints for MMIO reads/writes
This is quite handy to debug softmmu targets. Reviewed-by: Andreas Faerber <afaerber@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1375016242-32651-1-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 0f7c8b4d92..3856b5c206 100644
--- a/trace-events
+++ b/trace-events
@@ -1165,6 +1165,10 @@ kvm_vm_ioctl(int type, void *arg) "type %d, arg %p"
kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type %d, arg %p"
kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
+# memory.c
+memory_region_ops_read(void *mr, uint64_t addr, uint64_t value, unsigned size) "mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
+memory_region_ops_write(void *mr, uint64_t addr, uint64_t value, unsigned size) "mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
+
# qom/object.c
object_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
object_class_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"