X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fprint.c;h=6ad93419db09fdc28de9f98fff1be751c8fbd668;hb=88bf15f0f2a239186b5cf6fcf8711786907ca483;hp=aa21f77bf3c18531515539bdf37d9cfb0e318087;hpb=6db3427f29cace9a1addac5a6277bbc1ce666002;p=lttv.git diff --git a/lttv/lttv/print.c b/lttv/lttv/print.c index aa21f77b..6ad93419 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(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);