Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-15 Thread Stefan Hajnoczi
On Wed, Sep 14, 2011 at 5:02 PM, William Cohen wrote: > On 09/14/2011 10:51 AM, Stefan Hajnoczi wrote: >> On Tue, Sep 13, 2011 at 8:38 PM, William Cohen wrote: >>> On 09/13/2011 12:10 PM, William Cohen wrote: >>> Should the qemu.kvm.cpu_in and qemu.kvm.cpu_out match up?  There are a lot >>>

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-14 Thread William Cohen
On 09/14/2011 10:51 AM, Stefan Hajnoczi wrote: > On Tue, Sep 13, 2011 at 8:38 PM, William Cohen wrote: >> On 09/13/2011 12:10 PM, William Cohen wrote: >> >>> Should the qemu.kvm.cpu_in and qemu.kvm.cpu_out match up? There are a lot >>> more qemu.kvm.cpu_out than qemu.kvm.cpu_in count. >> >> I fo

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-14 Thread Stefan Hajnoczi
On Tue, Sep 13, 2011 at 5:10 PM, William Cohen wrote: > On 09/13/2011 06:03 AM, Stefan Hajnoczi wrote: >> On Mon, Sep 12, 2011 at 4:33 PM, William Cohen wrote: >>> The RHEL-6 version of qemu-kvm makes the tracepoints available to >>> SystemTap. I have been working on useful examples for the Syst

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-14 Thread Frank Ch. Eigler
Stefan Hajnoczi writes: > [...] > Where are you putting your SystemTap scripts? I suggest creating a > public git repo and adding a link from the QEMU wiki tracing page: > http://wiki.qemu.org/Features/Tracing > > Perhaps we could even include them in a contrib/ or similar directory > in qemu.gi

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-14 Thread Stefan Hajnoczi
On Tue, Sep 13, 2011 at 8:38 PM, William Cohen wrote: > On 09/13/2011 12:10 PM, William Cohen wrote: > >> Should the qemu.kvm.cpu_in and qemu.kvm.cpu_out match up?  There are a lot >> more qemu.kvm.cpu_out than qemu.kvm.cpu_in count. > > I found that cpu_in and cpu_out refer to input and output i

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-13 Thread William Cohen
On 09/13/2011 12:10 PM, William Cohen wrote: > Should the qemu.kvm.cpu_in and qemu.kvm.cpu_out match up? There are a lot > more qemu.kvm.cpu_out than qemu.kvm.cpu_in count. I found that cpu_in and cpu_out refer to input and output instructions. I wrote a little script tally up the input and o

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-13 Thread William Cohen
On 09/13/2011 06:03 AM, Stefan Hajnoczi wrote: > On Mon, Sep 12, 2011 at 4:33 PM, William Cohen wrote: >> The RHEL-6 version of qemu-kvm makes the tracepoints available to SystemTap. >> I have been working on useful examples for the SystemTap tracepoints in >> qemu. There doesn't seem to be a gr

Re: [Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-13 Thread Stefan Hajnoczi
On Mon, Sep 12, 2011 at 4:33 PM, William Cohen wrote: > The RHEL-6 version of qemu-kvm makes the tracepoints available to SystemTap. > I have been working on useful examples for the SystemTap tracepoints in qemu. > There doesn't seem to be a great number of examples showing the utility of > the

[Qemu-devel] Using the qemu tracepoints with SystemTap

2011-09-12 Thread William Cohen
Hi All, The RHEL-6 version of qemu-kvm makes the tracepoints available to SystemTap. I have been working on useful examples for the SystemTap tracepoints in qemu. There doesn't seem to be a great number of examples showing the utility of the tracepoints in diagnosing problems. However, I came a