X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmain%2FprocessTrace.c;h=9a2d457c8a79a447607097b975ec0de103541d7e;hb=abe346a3ab2fabfedb8e86f707ea7d335f527acf;hp=4a290dd04e2619a5672441c89c45941b2f86f045;hpb=88a3e3d0ba9a2e56e5d3524bd9da05fe3a81f8e6;p=lttv.git diff --git a/ltt/branches/poly/lttv/main/processTrace.c b/ltt/branches/poly/lttv/main/processTrace.c index 4a290dd0..9a2d457c 100644 --- a/ltt/branches/poly/lttv/main/processTrace.c +++ b/ltt/branches/poly/lttv/main/processTrace.c @@ -1,3 +1,21 @@ +/* This file is part of the Linux Trace Toolkit viewer + * Copyright (C) 2003-2004 Michel Dagenais + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + #include #include @@ -62,6 +80,11 @@ static void lttv_traceset_context_compute_time_span( LttvTraceContext *tc; LttTrace * trace; + Time_Span->startTime.tv_sec = 0; + Time_Span->startTime.tv_nsec = 0; + Time_Span->endTime.tv_sec = 0; + Time_Span->endTime.tv_nsec = 0; + for(i=0; itraces[i]; trace = tc->t;