From: Xinghai Yu <yuxinghai(a)cn.fujitsu.com>
Signed-off-by: Xinghai Yu <yuxinghai(a)cn.fujitsu.com>
---
src/util/iohelper.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/util/iohelper.c b/src/util/iohelper.c
index 9610063..3b33c07 100644
--- a/src/util/iohelper.c
+++ b/src/util/iohelper.c
@@ -42,6 +42,10 @@
#include "virrandom.h"
#include "virstring.h"
+#ifdef WITH_FTRACE_PROBES
+# include "ftrace.h"
+#endif
+
#define VIR_FROM_THIS VIR_FROM_STORAGE
static int
@@ -243,6 +247,11 @@ main(int argc, char **argv)
exit(EXIT_FAILURE);
}
+#ifdef WITH_FTRACE_PROBES
+ if(!trace_backend_init())
+ exit(EXIT_FAILURE);
+#endif
+
path = argv[1];
if (argc > 1 && STREQ(argv[1], "--help"))
--
1.8.3.1