From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91w-0007KL-CX for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX91t-0005u7-8c for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91t-0005u2-3S for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:21 -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 B1D3C3B71E for ; Tue, 9 Aug 2016 15:33:20 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 9 Aug 2016 16:32:07 +0100 Message-Id: <1470756748-18933-40-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 39/60] trace: switch hw/isa/ 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 hw/isa/ directory to include the hw/isa/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/isa/Makefile.objs | 2 ++ hw/isa/pc87312.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index af169ff..14c7df1 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -141,7 +141,7 @@ trace-events-subdirs += hw/timer trace-events-subdirs += hw/dma trace-events-subdirs += hw/sparc trace-events-subdirs += hw/sd -trace-events-y += hw/isa/trace-events +trace-events-subdirs += hw/isa trace-events-y += hw/mem/trace-events trace-events-y += hw/i386/trace-events trace-events-y += hw/9pfs/trace-events diff --git a/hw/isa/Makefile.objs b/hw/isa/Makefile.objs index 9164556..a273afd 100644 --- a/hw/isa/Makefile.objs +++ b/hw/isa/Makefile.objs @@ -6,3 +6,5 @@ common-obj-$(CONFIG_PIIX4) += piix4.o common-obj-$(CONFIG_VT82C686) += vt82c686.o obj-$(CONFIG_LPC_ICH9) += lpc_ich9.o +trace-obj-y += trace.o +trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c index c3ebf3e..6f2a187 100644 --- a/hw/isa/pc87312.c +++ b/hw/isa/pc87312.c @@ -31,7 +31,7 @@ #include "sysemu/blockdev.h" #include "sysemu/sysemu.h" #include "sysemu/char.h" -#include "trace.h" +#include "hw/isa/trace.h" #define REG_FER 0 -- 2.7.4