Hi, After I install the babeltrace and try to build a code, I got this: gcc -Wall -g 1.c -lbabeltrace -lbabeltrace-ctf In file included from 1.c:11:0: /usr/local/include/babeltrace/babeltrace.h:23:41: fatal error: babeltrace/trace-collection.h: No such file or directory compilation terminated.
I check the code,looks most of function of trace-collection.h is covered by context.h. So I post a patch for it. Wish you like it. Thanks, Hui --- a/include/babeltrace/babeltrace.h +++ b/include/babeltrace/babeltrace.h @@ -20,7 +20,6 @@ #include <babeltrace/context.h> #include <babeltrace/format.h> #include <babeltrace/iterator.h> -#include <babeltrace/trace-collection.h> #include <babeltrace/trace-handle.h> #endif /* _BABELTRACE_H */ _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
