Fix compatibility with d40ee8ec4ac9998f Babeltrace API cleanup name get_timestamp
[lttv.git] / lttv / lttv / state.c
index a2f609f52d768292ce4c66871c542adfc589bf9d..2347bf2da3ea2691f5ed7276483a721fbe5f0a4f 100644 (file)
@@ -31,6 +31,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <inttypes.h>
+#include <babeltrace/babeltrace.h>
 
 #define PREALLOCATED_EXECUTION_STACK 10
 
@@ -410,7 +411,7 @@ static void restore_init_state(LttvTraceState *self)
 
        start_time = ltt_time_from_uint64(
                            bt_trace_handle_get_timestamp_begin(self->trace->traceset->context, 
-                                                               self->trace->id));
+                                                               self->trace->id,BT_CLOCK_REAL));
 
 
        //lttv_process_trace_seek_time(&self->parent, ltt_time_zero);
This page took 0.023437 seconds and 4 git commands to generate.