Received: from eggs.gnu.org ([2001:4830:134:3::10]:47817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Gne-0000UI-55 for qemu-devel@nongnu.org; Thu, 09 Jan 2014 09:41:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1GnX-0002Ay-UI for qemu-devel@nongnu.org; Thu, 09 Jan 2014 09:41:34 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:49705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1GnX-00025o-Hp for qemu-devel@nongnu.org; Thu, 09 Jan 2014 09:41:27 -0500 From: =?utf-8?b?TGx1w61z?= Vilanova Date: Thu, 9 Jan 2014 15:41:23 +0100 Message-Id: <20140109144123.21800.45879.stgit@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] 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 Cc: Stefan Hajnoczi , Stefan Hajnoczi 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 -- Cc: Stefan Hajnoczi --- 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