From: Xinghai Yu <yuxinghai@xxxxxxxxxxxxxx> Signed-off-by: Xinghai Yu <yuxinghai@xxxxxxxxxxxxxx> --- src/storage/parthelper.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/storage/parthelper.c b/src/storage/parthelper.c index c04f1bd..e9b56fe 100644 --- a/src/storage/parthelper.c +++ b/src/storage/parthelper.c @@ -47,6 +47,10 @@ #include "configmake.h" #include "virstring.h" +#ifdef WITH_FTRACE_PROBES +# include "ftrace.h" +#endif + /* we don't need to include the full internal.h just for this */ #define STREQ(a,b) (strcmp(a,b) == 0) @@ -85,6 +89,11 @@ int main(int argc, char **argv) return 1; } +#ifdef WITH_FTRACE_PROBES + if(!trace_backend_init()) + exit(EXIT_FAILURE); +#endif + path = argv[1]; if (virIsDevMapperDevice(path)) { partsep = "p"; -- 1.8.3.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list