- gInit_Trace = ltt_trace_open(a_trace);
- if(gInit_Trace == NULL) g_critical("cannot open trace %s", a_trace);
- g_critical("lttv_trace_option : Init_Trace is %p", gInit_Trace);
+ LttTrace *trace;
+
+ trace = ltt_trace_open(a_trace);
+ if(trace == NULL) g_critical("cannot open trace %s", a_trace);
+ gInit_Trace = lttv_trace_new(trace);