On 03/03/2014 02:18 PM, Daniel P. Berrange wrote:
The dtrace probe macros rely on the logging API. We can't make
the internal.h header include the virlog.h header though since
that'd be a circular include. Instead simply split the dtrace
probes into their own header file, since there's no compelling
reason for them to be in the main internal.h header.
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
daemon/remote.c | 1 +
src/internal.h | 74 --------------------------------
src/qemu/qemu_monitor.c | 1 +
src/qemu/qemu_monitor_json.c | 1 +
src/qemu/qemu_monitor_text.c | 1 +
src/rpc/virkeepalive.c | 1 +
src/rpc/virnetclient.c | 1 +
src/rpc/virnetserverclient.c | 1 +
src/rpc/virnetsocket.c | 1 +
src/rpc/virnettlscontext.c | 1 +
src/util/vireventpoll.c | 1 +
src/util/virobject.c | 1 +
src/util/virprobe.h | 100 +++++++++++++++++++++++++++++++++++++++++++
13 files changed, 111 insertions(+), 74 deletions(-)
create mode 100644 src/util/virprobe.h
<...snip...>
--- /dev/null
+++ b/src/util/virprobe.h
@@ -0,0 +1,100 @@
+/*
+ * virlog.h: internal logging and debugging
NIT: virprobe.h
+ *
+ * Copyright (C) 2006-2008, 2011-2012 Red Hat, Inc.
+ *
Should this be just 2014 or the range?
John