Fix trace-collection.h: No such file or directory that build code with libbabeltrace
authorHui Zhu <>
Thu, 23 Aug 2012 12:07:32 +0000 (08:07 -0400)
committerMathieu Desnoyers <>
Thu, 23 Aug 2012 12:07:32 +0000 (08:07 -0400)
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.

Signed-off-by: Mathieu Desnoyers <>

index 623967eb4f793649a8221769b58990f3845c2dc3..8eae53842f8ecb3062dde8a6b90af2329b467553 100644 (file)
@@ -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 */
This page took 0.023654 seconds and 4 git commands to generate.