From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91h-0006kJ-Mj for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX91f-0005ol-Oh for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91f-0005oc-Ib for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:07 -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 322137AE8E for ; Tue, 9 Aug 2016 15:33:07 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 9 Aug 2016 16:31:56 +0100 Message-Id: <1470756748-18933-29-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 28/60] trace: switch hw/audio/ 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/audio/ directory to include the hw/audio/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/audio/Makefile.objs | 3 +++ hw/audio/cs4231.c | 2 +- hw/audio/milkymist-ac97.c | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 0840225..80f91ee 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -130,7 +130,7 @@ trace-events-subdirs += hw/char trace-events-subdirs += hw/intc trace-events-subdirs += hw/net trace-events-subdirs += hw/virtio -trace-events-y += hw/audio/trace-events +trace-events-subdirs += hw/audio trace-events-y += hw/misc/trace-events trace-events-y += hw/usb/trace-events trace-events-y += hw/scsi/trace-events diff --git a/hw/audio/Makefile.objs b/hw/audio/Makefile.objs index 7ce85a2..d779550 100644 --- a/hw/audio/Makefile.objs +++ b/hw/audio/Makefile.objs @@ -16,3 +16,6 @@ common-obj-$(CONFIG_MARVELL_88W8618) += marvell_88w8618.o common-obj-$(CONFIG_MILKYMIST) += milkymist-ac97.o $(obj)/adlib.o $(obj)/fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0 + +trace-obj-y += trace.o +trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c index 30690f9..8c7eb1e 100644 --- a/hw/audio/cs4231.c +++ b/hw/audio/cs4231.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/audio/trace.h" /* * In addition to Crystal CS4231 there is a DMA controller on Sparc. diff --git a/hw/audio/milkymist-ac97.c b/hw/audio/milkymist-ac97.c index bc8db71..fd994b4 100644 --- a/hw/audio/milkymist-ac97.c +++ b/hw/audio/milkymist-ac97.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/audio/trace.h" #include "audio/audio.h" #include "qemu/error-report.h" -- 2.7.4