From: Stefan Hajnoczi <stefanha@gmail.com>
To: aayush gupta <aayushgupta.84@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Query regarding IO paths in QEMU
Date: Thu, 9 May 2013 07:51:35 +0200 [thread overview]
Message-ID: <20130509055135.GB1074@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <CAFBtnvRToxxCSdC-3js5Ha8iDpvzUKZQaCRs4KF=Z-ADhkOQEg@mail.gmail.com>
On Mon, May 06, 2013 at 02:36:46PM -0700, aayush gupta wrote:
> Thanks for the reply. I am trying to use the tracing with qemu-io as
> suggested in docs/tracing.txt. I did the following steps:
>
> 1. Configure and make with simple backend
> 2. Create a set of events I am interested in (/tmp/events)
> 3. Now I am running the qemu-iotests by adding T= /tmp/events to test 001
> testcase (file read path only).
> It runs and generates a trace-xxxxx file. However, the file just has a
> couple of lines in it in binary.
> 4. When I pass it through simpletrace.py nothing happens.
>
> Can you tell me if I missed some step or something else needs to be done.
Invoke simpletrace.py like this:
$ scripts/simpletrace.py trace-events <trace-file>
If tracing doesn't work with qemu-iotests, try it manually first:
$ qemu-io -T /tmp/events -c 'read 0 512' test.img
Stefan
prev parent reply other threads:[~2013-05-09 5:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-29 17:02 [Qemu-devel] Query regarding IO paths in QEMU aayush gupta
2013-05-01 9:30 ` Stefan Hajnoczi
2013-05-06 21:36 ` aayush gupta
2013-05-09 5:51 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130509055135.GB1074@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=aayushgupta.84@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).