projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: http://ltt.polymtl.ca/svn@116 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git]
/
ltt
/
branches
/
yangxx
/
convert
/
convert.c
diff --git
a/ltt/branches/yangxx/convert/convert.c
b/ltt/branches/yangxx/convert/convert.c
index 43f27986cfa9fec2fb87d9dbfee0af9db0c57ab8..b0f0f02cd0853cae3316888c565e059b6ce7a4d5 100644
(file)
--- 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
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;
end.seconds = tBufEnd->Time.tv_sec;
end.nanoseconds = tBufEnd->Time.tv_usec;
end.cycle_count = tBufEnd->TSC;
This page took
0.02223 seconds
and
4
git commands to generate.