Initial commit for control flow view
[lttv.git] / lttv / lttv / print.c
index aa21f77bf3c18531515539bdf37d9cfb0e318087..6ad93419db09fdc28de9f98fff1be751c8fbd668 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(event->bt_event), 
+                                      bt_ctf_get_timestamp_raw(event->bt_event), 
                                       bt_ctf_event_name(event->bt_event));
        }
        g_string_append_printf(a_string, "{ %s }", cpuId_str->str);
This page took 0.025043 seconds and 4 git commands to generate.