Received: from eggs.gnu.org ([2001:4830:134:3::10]:52847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn7CH-000237-IE for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn7CG-0003dX-HY for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:45:33 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20151013171020.21325.27626.stgit@localhost> <20151013171027.21325.24023.stgit@localhost> <20151016091321.GE7432@stefanha-thinkpad.redhat.com> <20151016151225.GB4914@thinpad.lan.raisama.net> Date: Fri, 16 Oct 2015 17:44:54 +0200 In-Reply-To: <20151016151225.GB4914@thinpad.lan.raisama.net> (Eduardo Habkost's message of "Fri, 16 Oct 2015 12:12:25 -0300") Message-ID: <87fv1azukp.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCHv11/8] trace: Add support for vCPU pointers in trace events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Peter Maydell , Guan Xuetao , Jia Liu , Stefan Hajnoczi , Anthony Green , Mark Cave-Ayland , qemu-devel@nongnu.org, Alexander Graf , Blue Swirl , Max Filippov , Michael Walle , "open list:PowerPC" , Stefan Hajnoczi , Paolo Bonzini , "Edgar E. Iglesias" , Bastian Koppelmann , Leon Alrae , Aurelien Jarno , Richard Henderson Eduardo Habkost writes: > On Fri, Oct 16, 2015 at 11:13:21AM +0200, Stefan Hajnoczi wrote: >> On Tue, Oct 13, 2015 at 07:10:27PM +0200, Llu=C3=ADs Vilanova wrote: >> > diff --git a/trace/control.h b/trace/control.h >> > index da9bb6b..1a78a7b 100644 >> > --- a/trace/control.h >> > +++ b/trace/control.h >> > @@ -1,7 +1,7 @@ >> > /* >> > * Interface for configuring and controlling the state of tracing eve= nts. >> > * >> > - * Copyright (C) 2011-2014 Llu=C3=ADs Vilanova >> > + * Copyright (C) 2011-2015 Llu=C3=ADs Vilanova >> > * >> > * This work is licensed under the terms of the GNU GPL, version 2 or= later. >> > * See the COPYING file in the top-level directory. >> > @@ -14,6 +14,9 @@ >> > #include "trace/generated-events.h" >> >=20=20 >> >=20=20 >> > +typedef struct CPUState CPUState; >> > + >> > + >>=20 >> Wat? :) >>=20 >> Isn't there any other place to put this typedef? > I believe you mean include/qemu/typedefs.h. :) Oh! That's exactly what I needed :) Thanks, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth