X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftrace.h;h=03f47694183a7f3f23b6054b21cddc677ca7058f;hb=39088a5f4184024f95643adbfebd8d0d5361cec3;hp=ba66c33aa6669f54c6801035db25c543e9d8d959;hpb=2a74fbf4e7e641f94517b3e996c674291248bb1d;p=lttv.git diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index ba66c33a..03f47694 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -127,7 +127,7 @@ void ltt_tracefile_seek_position(LttTracefile *t, /* Read the next event */ -LttEvent *ltt_tracefile_read(LttTracefile *t); +LttEvent *ltt_tracefile_read(LttTracefile *t, LttEvent *event); /* open tracefile */ @@ -171,4 +171,10 @@ char * ltt_trace_system_description_description (LttSystemDescription * s); LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s); +/* copy tracefile info over another. Used for sync. */ +LttTracefile *ltt_tracefile_new(); +void ltt_tracefile_destroy(LttTracefile *tf); +void ltt_tracefile_copy(LttTracefile *dest, const LttTracefile *src); + + #endif // TRACE_H