From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaJlU-0007fh-Lj for qemu-devel@nongnu.org; Thu, 09 May 2013 01:51:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaJlT-0001gW-Ju for qemu-devel@nongnu.org; Thu, 09 May 2013 01:51:40 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:57838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaJlT-0001gS-Dh for qemu-devel@nongnu.org; Thu, 09 May 2013 01:51:39 -0400 Received: by mail-we0-f177.google.com with SMTP id q58so2494358wes.36 for ; Wed, 08 May 2013 22:51:38 -0700 (PDT) Date: Thu, 9 May 2013 07:51:35 +0200 From: Stefan Hajnoczi Message-ID: <20130509055135.GB1074@stefanha-thinkpad.redhat.com> References: <20130501093000.GA21804@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Query regarding IO paths in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aayush gupta Cc: qemu-devel@nongnu.org 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 If tracing doesn't work with qemu-iotests, try it manually first: $ qemu-io -T /tmp/events -c 'read 0 512' test.img Stefan