From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX92H-0007bs-P8 for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX92F-00061L-CD for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX92F-00061A-6I for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:43 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C76DF83F42 for ; Tue, 9 Aug 2016 15:33:42 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 9 Aug 2016 16:32:26 +0100 Message-Id: <1470756748-18933-59-git-send-email-berrange@redhat.com> In-Reply-To: <1470756748-18933-1-git-send-email-berrange@redhat.com> References: <1470756748-18933-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH for-2.8 v1 58/60] trace: switch linux-user/ directory to modular trace.h file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , "Daniel P. Berrange" Switch files in the linux-user/ directory to include the linux-user/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- linux-user/Makefile.objs | 2 ++ linux-user/signal.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 53a26fb..c2ee78e 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -160,7 +160,7 @@ trace-events-subdirs += target-sparc trace-events-subdirs += target-s390x trace-events-subdirs += target-ppc trace-events-subdirs += qom -trace-events-y += linux-user/trace-events +trace-events-subdirs += linux-user trace-events-files = trace-events $(trace-events-subdirs:%=%/trace-events) diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs index 8c93058..7a05775 100644 --- a/linux-user/Makefile.objs +++ b/linux-user/Makefile.objs @@ -6,3 +6,5 @@ obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_I386) += vm86.o obj-$(TARGET_ARM) += arm/nwfpe/ obj-$(TARGET_M68K) += m68k-sim.o +trace-obj-y += trace.o +trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o diff --git a/linux-user/signal.c b/linux-user/signal.c index 9a4d894..3db2faa 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -24,7 +24,7 @@ #include "qemu.h" #include "qemu-common.h" #include "target_signal.h" -#include "trace.h" +#include "linux-user/trace.h" static struct target_sigaltstack target_sigaltstack_used = { .ss_sp = 0, -- 2.7.4