From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91s-0007Dr-8d for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX91p-0005t1-FR for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91p-0005sp-9R for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:17 -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 DFA3C4E324 for ; Tue, 9 Aug 2016 15:33:16 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 9 Aug 2016 16:32:04 +0100 Message-Id: <1470756748-18933-37-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 36/60] trace: switch hw/dma/ 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/dma/ directory to include the hw/dma/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/dma/Makefile.objs | 2 ++ hw/dma/i8257.c | 2 +- hw/dma/rc4030.c | 2 +- hw/dma/sparc32_dma.c | 2 +- hw/dma/sun4m_iommu.c | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 553c738..ce8d111 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -138,7 +138,7 @@ trace-events-subdirs += hw/nvram trace-events-subdirs += hw/display trace-events-subdirs += hw/input trace-events-subdirs += hw/timer -trace-events-y += hw/dma/trace-events +trace-events-subdirs += hw/dma trace-events-y += hw/sparc/trace-events trace-events-y += hw/sd/trace-events trace-events-y += hw/isa/trace-events diff --git a/hw/dma/Makefile.objs b/hw/dma/Makefile.objs index 087c8e6..c3f6aae 100644 --- a/hw/dma/Makefile.objs +++ b/hw/dma/Makefile.objs @@ -14,3 +14,5 @@ obj-$(CONFIG_XLNX_ZYNQMP) += xlnx_dpdma.o obj-$(CONFIG_OMAP) += omap_dma.o soc_dma.o obj-$(CONFIG_PXA2XX) += pxa2xx_dma.o obj-$(CONFIG_RASPI) += bcm2835_dma.o +trace-obj-y += trace.o +trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c index f345c54..fd89223 100644 --- a/hw/dma/i8257.c +++ b/hw/dma/i8257.c @@ -26,7 +26,7 @@ #include "hw/isa/isa.h" #include "hw/isa/i8257.h" #include "qemu/main-loop.h" -#include "trace.h" +#include "hw/dma/trace.h" #define I8257(obj) \ OBJECT_CHECK(I8257State, (obj), TYPE_I8257) diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c index 2f2576f..088cbb5 100644 --- a/hw/dma/rc4030.c +++ b/hw/dma/rc4030.c @@ -29,7 +29,7 @@ #include "qemu/timer.h" #include "qemu/log.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "hw/dma/trace.h" /********************************************************/ /* rc4030 emulation */ diff --git a/hw/dma/sparc32_dma.c b/hw/dma/sparc32_dma.c index 9d545e4..fc2cc94 100644 --- a/hw/dma/sparc32_dma.c +++ b/hw/dma/sparc32_dma.c @@ -30,7 +30,7 @@ #include "hw/sparc/sparc32_dma.h" #include "hw/sparc/sun4m.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/dma/trace.h" /* * This is the DMA controller part of chip STP2000 (Master I/O), also diff --git a/hw/dma/sun4m_iommu.c b/hw/dma/sun4m_iommu.c index b3cbc54..b7bd15e 100644 --- a/hw/dma/sun4m_iommu.c +++ b/hw/dma/sun4m_iommu.c @@ -26,7 +26,7 @@ #include "hw/sparc/sun4m.h" #include "hw/sysbus.h" #include "exec/address-spaces.h" -#include "trace.h" +#include "hw/dma/trace.h" /* * I/O MMU used by Sun4m systems -- 2.7.4