Received: from eggs.gnu.org ([2001:4830:134:3::10]:43001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dURBn-0003Pa-7X for qemu-devel@nongnu.org; Mon, 10 Jul 2017 01:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dURBk-00017W-1e for qemu-devel@nongnu.org; Mon, 10 Jul 2017 01:24:55 -0400 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:35350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dURBj-00017I-SC for qemu-devel@nongnu.org; Mon, 10 Jul 2017 01:24:51 -0400 Received: by mail-pf0-x22e.google.com with SMTP id c73so44068270pfk.2 for ; Sun, 09 Jul 2017 22:24:50 -0700 (PDT) References: From: Xie Changlong Message-ID: Date: Mon, 10 Jul 2017 13:24:23 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] About the trace framework List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wang Dong , qemu-devel@nongnu.org Cc: stefanha@redhat.com 在 7/9/2017 5:57 PM, Wang Dong 写道: > Hi, > > I am new to QEMU. But I got some problem so that I want to figure it out. > > So I try to debug qemu to see what happened. > > And I found trace framework. I think this will help me understand the > point. > > So I compiled qemu with option: > > ## *--enable-trace-backends=simple* > > And did as the docs/tracing.txt tell. But when I execute the example > command in it, nothing just happens. > > *./scripts/simpletrace.py trace-events-all trace-xxxxxx(my trace file > produced by qemu) > I am not sure what happened. Just ask this. > Any clue will be appreciated. Thanks in advance. > * > Did you set *trace-event*? I've encountered this issue in the past :) (qemu) help trace-event trace-event name on|off -- changes status of a specific trace event (qemu) info trace-events -- Thanks -Xie