Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-08-05 Thread Paolo Bonzini
On 08/05/2013 05:18 PM, Don Slutz wrote: diff --git a/trace-events b/trace-events index 002df83..3e0dd74 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

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-08-05 Thread Don Slutz
On 07/28/13 08:35, Paolo Bonzini wrote: This is quite handy to debug softmmu targets. Signed-off-by: Paolo Bonzini --- memory.c | 5 + trace-events | 4 2 files changed, 9 insertions(+) diff --git a/memory.c b/memory.c index 1494e95..ac6f3c6 100644 --- a/memory.c +++ b/memory.

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Andreas Färber
Am 28.07.2013 16:34, schrieb Peter Maydell: > On 28 July 2013 13:35, Paolo Bonzini wrote: >> This is quite handy to debug softmmu targets. >> >> Signed-off-by: Paolo Bonzini > > (not a nak, just a tangential thought) > It would be cute if you could just insert a "trace this access > and pass it

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Peter Maydell
On 28 July 2013 13:35, Paolo Bonzini wrote: > This is quite handy to debug softmmu targets. > > Signed-off-by: Paolo Bonzini (not a nak, just a tangential thought) It would be cute if you could just insert a "trace this access and pass it through" container MemoryRegion at an arbitrary point in

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Andreas Färber
Am 28.07.2013 14:55, schrieb Paolo Bonzini: > Il 28/07/2013 14:45, Andreas Färber ha scritto: >> Am 28.07.2013 14:35, schrieb Paolo Bonzini: >>> diff --git a/trace-events b/trace-events >>> index 002df83..3e0dd74 100644 >>> --- a/trace-events >>> +++ b/trace-events >>> @@ -1165,6 +1165,10 @@ kvm_vm

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Paolo Bonzini
Il 28/07/2013 14:45, Andreas Färber ha scritto: > Am 28.07.2013 14:35, schrieb Paolo Bonzini: >> This is quite handy to debug softmmu targets. >> >> Signed-off-by: Paolo Bonzini >> --- >> memory.c | 5 + >> trace-events | 4 >> 2 files changed, 9 insertions(+) >> >> diff --git a/memo

Re: [Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Andreas Färber
Am 28.07.2013 14:35, schrieb Paolo Bonzini: > This is quite handy to debug softmmu targets. > > Signed-off-by: Paolo Bonzini > --- > memory.c | 5 + > trace-events | 4 > 2 files changed, 9 insertions(+) > > diff --git a/memory.c b/memory.c > index 1494e95..ac6f3c6 100644 > --- a/m

[Qemu-devel] [PATCH for-1.6] memory: add tracepoints for MMIO reads/writes

2013-07-28 Thread Paolo Bonzini
This is quite handy to debug softmmu targets. Signed-off-by: Paolo Bonzini --- memory.c | 5 + trace-events | 4 2 files changed, 9 insertions(+) diff --git a/memory.c b/memory.c index 1494e95..ac6f3c6 100644 --- a/memory.c +++ b/memory.c @@ -19,6 +19,7 @@ #include "qemu/bitops.h"