From ab45fb16ade942e8ef26a4c62122f95c207fec1f Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 21 Apr 2006 01:14:04 +0000 Subject: [PATCH] add process names git-svn-id: http://ltt.polymtl.ca/svn@1764 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/lttv/lttv/print.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 31c68909..bef10d9f 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.35-03042006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.36-20042006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/lttv/lttv/print.c b/ltt/branches/poly/lttv/lttv/print.c index 812ecef5..6bcb2387 100644 --- a/ltt/branches/poly/lttv/lttv/print.c +++ b/ltt/branches/poly/lttv/lttv/print.c @@ -183,7 +183,8 @@ void lttv_event_to_string(LttEvent *e, GString *s, 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, %u, 0x%llX, %s", process->pid, + g_string_append_printf(s,", %u, %s, %u, 0x%llX, %s", process->pid, + g_quark_to_string(process->name), process->ppid, process->current_function, g_quark_to_string(process->state->t)); } -- 2.34.1