From: compudj Date: Tue, 13 Sep 2005 19:30:35 +0000 (+0000) Subject: get start time for trace X-Git-Tag: v0.12.20~2314 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7bd563ec7bee6e0ca94f12553b59009f7c102482;p=lttv.git get start time for trace git-svn-id: http://ltt.polymtl.ca/svn@1175 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index 859c44e2..71ef9bca 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -143,7 +143,7 @@ gchar * ltt_trace_system_description_description (LttSystemDescription * s); /* get the start time of the trace */ -LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s); +LttTime ltt_trace_start_time(LttTrace *t); /* copy tracefile info over another. Used for sync. */ LttTracefile *ltt_tracefile_new(); diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index d2b6f898..af3b02fe 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -2556,13 +2556,11 @@ char * ltt_trace_system_description_description (LttSystemDescription * s) /* get the start time of the trace */ - -LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s) +LttTime ltt_trace_start_time(LttTrace *t) { - return s->trace_start; + return t->start_time; } - LttTracefile *ltt_tracefile_new() { return g_new(LttTracefile, 1);