From 07bb8c8f924eb5d84110a3c4dc2ea87ffbccf146 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 1 Oct 2003 03:39:25 +0000 Subject: [PATCH] output change to shown ppid problem, change pid output to unsigned git-svn-id: http://ltt.polymtl.ca/svn@287 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/textDump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/textDump.c b/ltt/branches/poly/lttv/textDump.c index ccc69c07..04bc344d 100644 --- a/ltt/branches/poly/lttv/textDump.c +++ b/ltt/branches/poly/lttv/textDump.c @@ -116,8 +116,9 @@ void lttv_event_to_string(LttEvent *e, LttTracefile *tf, GString *s, ltt_eventtype_name(event_type), (long)time.tv_sec, time.tv_nsec, ltt_tracefile_name(tf)); /* Print the process id and the state/interrupt type of the process */ - g_string_append_printf(s,", %d, %s", tfs->process->pid, - g_quark_to_string(tfs->process->state->t)); + g_string_append_printf(s,", %u, %u, %s", tfs->process->pid, + tfs->process->ppid, + g_quark_to_string(tfs->process->state->t)); } if(field) -- 2.34.1