@@ -121,7 +121,7 @@ ivshmem-server-obj-y = contrib/ivshmem-server/
trace-events-subdirs =
trace-events-y = trace-events
trace-events-subdirs += util
-trace-events-y += crypto/trace-events
+trace-events-subdirs += crypto
trace-events-subdirs += io
trace-events-y += migration/trace-events
trace-events-y += block/trace-events
@@ -26,6 +26,8 @@ crypto-obj-y += xts.o
crypto-obj-y += block.o
crypto-obj-y += block-qcow.o
crypto-obj-y += block-luks.o
+trace-obj-y += trace.o
+trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o
# Let the userspace emulators avoid linking gnutls/etc
crypto-aes-obj-y = aes.o
@@ -24,7 +24,7 @@
#include "qapi/error.h"
#include "qom/object_interfaces.h"
#include "qemu/base64.h"
-#include "trace.h"
+#include "crypto/trace.h"
static void
@@ -21,7 +21,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "crypto/tlscredspriv.h"
-#include "trace.h"
+#include "crypto/trace.h"
#define DH_BITS 2048
@@ -23,7 +23,7 @@
#include "crypto/tlscredspriv.h"
#include "qapi/error.h"
#include "qom/object_interfaces.h"
-#include "trace.h"
+#include "crypto/trace.h"
#ifdef CONFIG_GNUTLS
@@ -24,7 +24,7 @@
#include "crypto/secret.h"
#include "qapi/error.h"
#include "qom/object_interfaces.h"
-#include "trace.h"
+#include "crypto/trace.h"
#ifdef CONFIG_GNUTLS
@@ -24,7 +24,7 @@
#include "crypto/tlscredsx509.h"
#include "qapi/error.h"
#include "qemu/acl.h"
-#include "trace.h"
+#include "crypto/trace.h"
#ifdef CONFIG_GNUTLS
Switch files in the crypto/ directory to include the crypto/trace.h file instead of the global trace.h file. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- Makefile.objs | 2 +- crypto/Makefile.objs | 2 ++ crypto/secret.c | 2 +- crypto/tlscreds.c | 2 +- crypto/tlscredsanon.c | 2 +- crypto/tlscredsx509.c | 2 +- crypto/tlssession.c | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-)