Fix compatibility with d40ee8ec4ac9998f Babeltrace API cleanup name get_timestamp
[lttv.git] / lttv / lttv / print.c
index 85ede0360ecb582eec939836e4b4aeb044ce36ae..758f7af30a51930f2d6f6b54a0e67346447a3b1a 100644 (file)
@@ -323,7 +323,7 @@ int getProcessInfosFromEvent(LttvEvent *event, GString* processInfos)
        }
 #endif
        if (noError||1) {
-               g_string_append_printf(processInfos, "%u, %u, %s, %u", pid, tid, procname, ppid);
+               g_string_append_printf(processInfos, "%u, %u, %s, %u. %s, %s", pid, tid, procname, ppid, g_quark_to_string(process->state->t), g_quark_to_string(process->state->s));
        }
        else {
                ret = -1;
@@ -444,7 +444,7 @@ void lttv_event_to_string(LttvEvent *event, GString *a_string,
        g_string_set_size(a_string,0);
        if(long_version){
                g_string_append_printf(a_string, "%llu %s: ", 
-                                      bt_ctf_get_timestamp_raw(event->bt_event), 
+                                      bt_ctf_get_timestamp(event->bt_event), 
                                       bt_ctf_event_name(event->bt_event));
        }
        g_string_append_printf(a_string, "{ %s }", cpuId_str->str);
This page took 0.02303 seconds and 4 git commands to generate.