#include <babeltrace/iterator.h>
#include <babeltrace/ctf/iterator.h>
#include <babeltrace/ctf/events.h>
+#include <babeltrace/babeltrace-internal.h> /* For symbol side-effects */
#include <stdio.h>
#include <stdlib.h>
uint64_t expected_begin;
uint64_t expected_last;
+ /*
+ * Side-effects ensuring libs are not optimized away by static
+ * linking.
+ */
+ babeltrace_debug = 0; /* libbabeltrace.la */
+ opt_clock_offset = 0; /* libbabeltrace-ctf.la */
+
plan_tests(NR_TESTS);
if (argc < 4) {