From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91f-0006fz-Rw for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX91b-0005nS-Mg for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX91b-0005n9-2D for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:33:03 -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 AB2D637E63 for ; Tue, 9 Aug 2016 15:33:02 +0000 (UTC) From: "Daniel P. Berrange" Date: Tue, 9 Aug 2016 16:31:52 +0100 Message-Id: <1470756748-18933-25-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 24/60] trace: switch hw/char/ 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/char/ directory to include the hw/char/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange --- Makefile.objs | 2 +- hw/char/Makefile.objs | 2 ++ hw/char/escc.c | 2 +- hw/char/grlib_apbuart.c | 2 +- hw/char/lm32_juart.c | 2 +- hw/char/lm32_uart.c | 2 +- hw/char/milkymist-uart.c | 2 +- hw/char/virtio-console.c | 2 +- hw/char/virtio-serial-bus.c | 2 +- 9 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 8fe8b71..ad44cbc 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -126,7 +126,7 @@ trace-events-subdirs += io trace-events-subdirs += migration trace-events-subdirs += block trace-events-subdirs += hw/block -trace-events-y += hw/char/trace-events +trace-events-subdirs += hw/char trace-events-y += hw/intc/trace-events trace-events-y += hw/net/trace-events trace-events-y += hw/virtio/trace-events diff --git a/hw/char/Makefile.objs b/hw/char/Makefile.objs index 69a553c..13db97f 100644 --- a/hw/char/Makefile.objs +++ b/hw/char/Makefile.objs @@ -26,5 +26,7 @@ common-obj-$(CONFIG_LM32) += lm32_juart.o common-obj-$(CONFIG_LM32) += lm32_uart.o common-obj-$(CONFIG_MILKYMIST) += milkymist-uart.o common-obj-$(CONFIG_SCLPCONSOLE) += sclpconsole.o sclpconsole-lm.o +trace-obj-y += trace.o +trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o diff --git a/hw/char/escc.c b/hw/char/escc.c index 31a5f90..f004b3c 100644 --- a/hw/char/escc.c +++ b/hw/char/escc.c @@ -29,7 +29,7 @@ #include "sysemu/char.h" #include "ui/console.h" #include "ui/input.h" -#include "trace.h" +#include "hw/char/trace.h" /* * Chipset docs: diff --git a/hw/char/grlib_apbuart.c b/hw/char/grlib_apbuart.c index 871524c..9212361 100644 --- a/hw/char/grlib_apbuart.c +++ b/hw/char/grlib_apbuart.c @@ -26,7 +26,7 @@ #include "hw/sysbus.h" #include "sysemu/char.h" -#include "trace.h" +#include "hw/char/trace.h" #define UART_REG_SIZE 20 /* Size of memory mapped registers */ diff --git a/hw/char/lm32_juart.c b/hw/char/lm32_juart.c index 28c2cf7..bdab1b7 100644 --- a/hw/char/lm32_juart.c +++ b/hw/char/lm32_juart.c @@ -20,7 +20,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/char/trace.h" #include "sysemu/char.h" #include "hw/char/lm32_juart.h" diff --git a/hw/char/lm32_uart.c b/hw/char/lm32_uart.c index b5c760d..2ca5678 100644 --- a/hw/char/lm32_uart.c +++ b/hw/char/lm32_uart.c @@ -25,7 +25,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/char/trace.h" #include "sysemu/char.h" #include "qemu/error-report.h" diff --git a/hw/char/milkymist-uart.c b/hw/char/milkymist-uart.c index baddb37..9f5d5e4 100644 --- a/hw/char/milkymist-uart.c +++ b/hw/char/milkymist-uart.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/char/trace.h" #include "sysemu/char.h" #include "qemu/error-report.h" diff --git a/hw/char/virtio-console.c b/hw/char/virtio-console.c index 2e36481..b5e28e1 100644 --- a/hw/char/virtio-console.c +++ b/hw/char/virtio-console.c @@ -13,7 +13,7 @@ #include "qemu/osdep.h" #include "sysemu/char.h" #include "qemu/error-report.h" -#include "trace.h" +#include "hw/char/trace.h" #include "hw/virtio/virtio-serial.h" #include "qapi-event.h" diff --git a/hw/char/virtio-serial-bus.c b/hw/char/virtio-serial-bus.c index db57a38..28cab84 100644 --- a/hw/char/virtio-serial-bus.c +++ b/hw/char/virtio-serial-bus.c @@ -25,7 +25,7 @@ #include "qemu/error-report.h" #include "qemu/queue.h" #include "hw/sysbus.h" -#include "trace.h" +#include "hw/char/trace.h" #include "hw/virtio/virtio-serial.h" #include "hw/virtio/virtio-access.h" -- 2.7.4