X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fprint.c;h=ef11b21c5ac2674fb492cb72de33e9dfcf8d651c;hb=7092fb86b9ec0873ee40a62e0bf3de1a0707efe7;hp=f51e7b6e97f6bc0092c29ad5e1fe69026e822b60;hpb=0292757b8dbc9107de3cdf01eb6dd1d8fe726663;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/print.c b/ltt/branches/poly/lttv/lttv/print.c index f51e7b6e..ef11b21c 100644 --- a/ltt/branches/poly/lttv/lttv/print.c +++ b/ltt/branches/poly/lttv/lttv/print.c @@ -243,14 +243,17 @@ void lttv_event_to_string(LttEvent *e, GString *s, if(mandatory_fields) { time = ltt_event_time(e); - g_string_append_printf(s,"%s.%s: %ld.%09ld (%s_%u)", + g_string_append_printf(s,"%s.%s: %ld.%09ld (%s%s_%u)", g_quark_to_string(ltt_facility_name(facility)), g_quark_to_string(ltt_eventtype_name(event_type)), (long)time.tv_sec, time.tv_nsec, + g_quark_to_string( + ltt_trace_name(ltt_tracefile_get_trace(tfs->parent.tf))), g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)), cpu); /* Print the process id and the state/interrupt type of the process */ - g_string_append_printf(s,", %u, %s, %s, %u, 0x%llX, %s", process->pid, + g_string_append_printf(s,", %u, %u, %s, %s, %u, 0x%llX, %s", process->pid, + process->tgid, g_quark_to_string(process->name), g_quark_to_string(process->brand), process->ppid, process->current_function,