Received: from eggs.gnu.org ([208.118.235.92]:36224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKUQZ-0006DS-5y for qemu-devel@nongnu.org; Tue, 26 Mar 2013 10:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKUQU-0007gD-6R for qemu-devel@nongnu.org; Tue, 26 Mar 2013 10:00:39 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:37414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKUQT-0007g3-R6 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 10:00:34 -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 r2QE0Xkk005047 for ; Tue, 26 Mar 2013 15:00:33 +0100 Received: from localhost (unknown [84.88.51.85]) by gw.ac.upc.edu (Postfix) with ESMTP id A2E466B01C4 for ; Tue, 26 Mar 2013 15:00:32 +0100 (CET) From: =?utf-8?b?TGx1w61z?= Vilanova Date: Tue, 26 Mar 2013 15:00:32 +0100 Message-Id: <20130326140032.4471.70243.stgit@fimbulvetr.bsc.es> In-Reply-To: <20130326140021.4471.99597.stgit@fimbulvetr.bsc.es> References: <20130326140021.4471.99597.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 02/22] 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 | 3 --- trace/simple.c | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/tracetool/backend/simple.py b/scripts/tracetool/back= end/simple.py index 37ef599..30faac9 100644 --- a/scripts/tracetool/backend/simple.py +++ b/scripts/tracetool/backend/simple.py @@ -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