From: compudj Date: Fri, 16 Dec 2005 19:26:06 +0000 (+0000) Subject: change find_field X-Git-Tag: v0.12.20~2088 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=41b471e6cf2d1721e554517eefa332930bcf61e4;p=lttv.git change find_field git-svn-id: http://ltt.polymtl.ca/svn@1401 04897980-b3bd-0310-b5e0-8ef037075253 --- 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