From 41b471e6cf2d1721e554517eefa332930bcf61e4 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 16 Dec 2005 19:26:06 +0000 Subject: [PATCH] change find_field git-svn-id: http://ltt.polymtl.ca/svn@1401 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/print.c | 5 +++-- ltt/branches/poly/lttv/lttv/tracecontext.c | 18 +----------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/print.c b/ltt/branches/poly/lttv/lttv/print.c index b0f1d588..085216f6 100644 --- a/ltt/branches/poly/lttv/lttv/print.c +++ b/ltt/branches/poly/lttv/lttv/print.c @@ -185,10 +185,11 @@ void lttv_event_to_string(LttEvent *e, GString *s, process->ppid, g_quark_to_string(process->state->t)); } + event_type = ltt_event_eventtype(e); - num_fields = ltt_event_num_fields(e); + num_fields = ltt_eventtype_num_fields(event_type); for(i=0; i