X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.h;h=61879a7ff9c42e72806d83f4237143658c738e60;hb=2b25224d2931f56157797dacd3bd7ff66333db8c;hp=db4e5303d2a95f2048691717c26758145372ae86;hpb=33bdc8dd862c92f8b44f685304e6bf413932c244;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.h b/ltt/branches/poly/lttv/lttv/tracecontext.h index db4e5303..61879a7f 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.h +++ b/ltt/branches/poly/lttv/lttv/tracecontext.h @@ -175,8 +175,8 @@ struct _LttvTracefileContext { LttvHooksById *event_by_id; LttTime timestamp; LttvAttribute *a; - guint target_pid; /* Target PID of the event. - Updated by state.c. 0 means unset. */ + gint target_pid; /* Target PID of the event. + Updated by state.c. -1 means unset. */ }; struct _LttvTracefileContextClass { @@ -352,9 +352,13 @@ void lttv_process_traceset_get_sync_data(LttvTracesetContext *tsc); static const LttTime seek_back_default_offset = { 1, 0 }; +typedef gboolean check_handler(guint count, gboolean *stop_flag); + guint lttv_process_traceset_seek_n_forward(LttvTracesetContext *self, guint n, - LttvFilter *filter); + LttvFilter *filter, + check_handler *check, + gboolean *stop_flag); typedef void (*seek_time_fct)(LttvTracesetContext *self, LttTime start); /* If first_offset is ltt_time_zero, it will choose a default value */ @@ -362,7 +366,9 @@ guint lttv_process_traceset_seek_n_backward(LttvTracesetContext *self, guint n, LttTime first_offset, seek_time_fct, - LttvFilter *filter); + LttvFilter *filter, + check_handler *check, + gboolean *stop_flag); #endif // PROCESSTRACE_H