#include <fcntl.h> /* For O_RDONLY */
/* TODO ybrosseau: should be hidden in the CTF format */
-#include <babeltrace/ctf/types.h> /* for ctf_move_pos_slow */
+#include <babeltrace/ctf/types.h> /* for ctf_packet_seek */
#include <glib.h>
goto end;
}
td = fmt->open_trace(path, O_RDONLY,
- ctf_move_pos_slow, NULL);
+ ctf_packet_seek, NULL);
if (!td) {
fprintf(stderr, "[error] [Context] Cannot open_trace of the format %s .\n\n",
path);