From: yangxx Date: Thu, 17 Jul 2003 20:09:59 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@116 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3373 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=906659869ee45cc3797859ac405d743f42313b3a;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@116 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/yangxx/convert/convert.c b/ltt/branches/yangxx/convert/convert.c index 43f27986..b0f0f02c 100644 --- a/ltt/branches/yangxx/convert/convert.c +++ b/ltt/branches/yangxx/convert/convert.c @@ -273,7 +273,7 @@ int main(int argc, char ** argv){ size_lost = *(uint32_t*)(end_pos - sizeof(uint32_t)); end_pos = buffer + block_size - size_lost ; //buffer_end event - tBufEnd = (trace_buffer_end*)end_pos; + tBufEnd = (trace_buffer_end*)(end_pos+sizeof(uint8_t)+sizeof(uint32_t)); end.seconds = tBufEnd->Time.tv_sec; end.nanoseconds = tBufEnd->Time.tv_usec; end.cycle_count = tBufEnd->TSC;