Received: from eggs.gnu.org ([208.118.235.92]:33548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US6tk-0005Ab-OM for qemu-devel@nongnu.org; Tue, 16 Apr 2013 10:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US6nl-0006kR-OQ for qemu-devel@nongnu.org; Tue, 16 Apr 2013 10:24:07 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:44834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US6Gq-0002qy-3J for qemu-devel@nongnu.org; Tue, 16 Apr 2013 09:50:04 -0400 Received: from gw.ac.upc.edu (gw.ac.upc.es [147.83.30.3]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id r3GDo3JW030779 for ; Tue, 16 Apr 2013 15:50:03 +0200 Received: from localhost (unknown [84.88.51.85]) by gw.ac.upc.edu (Postfix) with ESMTP id B42436B01C9 for ; Tue, 16 Apr 2013 15:50:02 +0200 (CEST) From: =?utf-8?b?TGx1w61z?= Vilanova Date: Tue, 16 Apr 2013 15:50:02 +0200 Message-Id: <20130416135002.21588.43115.stgit@fimbulvetr.bsc.es> In-Reply-To: <20130416134949.21588.80064.stgit@fimbulvetr.bsc.es> References: <20130416134949.21588.80064.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 02/23] trace: [simple] Do not include "trace/simple.h" in generated tracer headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The header is not necessary, given that the simple backend does not defin= e any inlined tracing routines. Signed-off-by: Llu=C3=ADs Vilanova --- scripts/tracetool/backend/simple.py | 5 +---- trace/simple.c | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/tracetool/backend/simple.py b/scripts/tracetool/back= end/simple.py index 37ef599..e754f0d 100644 --- a/scripts/tracetool/backend/simple.py +++ b/scripts/tracetool/backend/simple.py @@ -6,7 +6,7 @@ Simple built-in backend. """ =20 __author__ =3D "Llu=C3=ADs Vilanova " -__copyright__ =3D "Copyright 2012, Llu=C3=ADs Vilanova " +__copyright__ =3D "Copyright 2012-2013, Llu=C3=ADs Vilanova " __license__ =3D "GPL version 2 or (at your option) any later version" =20 __maintainer__ =3D "Stefan Hajnoczi" @@ -93,9 +93,6 @@ def c(events): =20 =20 def h(events): - out('#include "trace/simple.h"', - '') - for event in events: out('void trace_%(name)s(%(args)s);', name =3D event.name, diff --git a/trace/simple.c b/trace/simple.c index 1e3f691..8b59760 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -8,6 +8,8 @@ * */ =20 +#include "trace/simple.h" + #include #include #include