X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fprint.c;h=758f7af30a51930f2d6f6b54a0e67346447a3b1a;hb=762e15b0a733522038a5673e68ba24be8ea1d41b;hp=85ede0360ecb582eec939836e4b4aeb044ce36ae;hpb=e2bef06d8aa98badd13cae1fdaf06f76b2dfc8d3;p=lttv.git diff --git a/lttv/lttv/print.c b/lttv/lttv/print.c index 85ede036..758f7af3 100644 --- a/lttv/lttv/print.c +++ b/lttv/lttv/print.c @@ -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);