X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftrace.h;h=e91b4954d089b2b8bddd4750b23d0332f7ac5f65;hb=eed2ef37f908daf7b3f884b5d8f91dad03f10526;hp=3b113167619d5b52f74fbc29a2ed17364b49488b;hpb=e8907e117020373fbc1ba5c995ff81d9db4b9261;p=lttv.git diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index 3b113167..e91b4954 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -21,7 +21,6 @@ #include - extern GQuark LTT_FACILITY_NAME_HEARTBEAT, LTT_EVENT_NAME_HEARTBEAT; @@ -106,6 +105,9 @@ int ltt_tracefile_read_seek(LttTracefile *t); int ltt_tracefile_read_update_event(LttTracefile *t); int ltt_tracefile_read_op(LttTracefile *t); +/* Get the current event of the tracefile : valid until the next read */ +LttEvent *ltt_tracefile_get_event(LttTracefile *tf); + /* open tracefile */ gint ltt_tracefile_open(LttTrace *t, gchar * fileName, LttTracefile *tf);