From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49549 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsboL-0002n1-3A for qemu-devel@nongnu.org; Mon, 06 Sep 2010 09:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsboJ-0003bh-Rn for qemu-devel@nongnu.org; Mon, 06 Sep 2010 09:32:36 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:49451) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsboJ-0003bc-NX for qemu-devel@nongnu.org; Mon, 06 Sep 2010 09:32:35 -0400 Received: by vws19 with SMTP id 19so3417935vws.4 for ; Mon, 06 Sep 2010 06:32:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20100905073023.GA16215@redhat.com> References: <1281609395-17621-1-git-send-email-stefanha@linux.vnet.ibm.com> <20100905073023.GA16215@redhat.com> Date: Mon, 6 Sep 2010 14:32:34 +0100 Message-ID: Subject: Re: [Qemu-devel] Re: [PATCH 00/14] trace: Add static tracing to QEMU From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Julien Desfossez , Prerna Saxena , Stefan Hajnoczi , qemu-devel@nongnu.org On Sun, Sep 5, 2010 at 8:30 AM, Michael S. Tsirkin wrote: > On Thu, Aug 12, 2010 at 11:36:21AM +0100, Stefan Hajnoczi wrote: >> 2. The built-in 'simple' trace backend writes binary traces to >> =A0 =A0/tmp/trace-. > > Saving files with predictable names in /tmp is usually not a good idea, > see e.g. http://en.wikipedia.org/wiki/Symlink_race. > Put them in $HOME or something like that. Let's default to the current working directory (which it already does on Windows). If QEMU is run as a daemon or in another environment where this doesn't make sense, then it needs to be configured appropriately: $ ./configure --trace-file=3D/var/qemu/trace Stefan