projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add state save/restore for bdevs + other fixes
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
tracecontext.h
diff --git
a/ltt/branches/poly/lttv/lttv/tracecontext.h
b/ltt/branches/poly/lttv/lttv/tracecontext.h
index df78677cc3c8f41afa79067a36c10047a27a7ed3..1336160be970e70fbb17fb54d635a184bf8e2898 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/tracecontext.h
+++ b/
ltt/branches/poly/lttv/lttv/tracecontext.h
@@
-175,6
+175,8
@@
struct _LttvTracefileContext {
LttvHooksById *event_by_id;
LttTime timestamp;
LttvAttribute *a;
LttvHooksById *event_by_id;
LttTime timestamp;
LttvAttribute *a;
+ gint target_pid; /* Target PID of the event.
+ Updated by state.c. -1 means unset. */
};
struct _LttvTracefileContextClass {
};
struct _LttvTracefileContextClass {
@@
-348,11
+350,18
@@
void lttv_process_traceset_get_sync_data(LttvTracesetContext *tsc);
#define BACKWARD_SEEK_MUL 2 /* Multiplication factor of time_offset between
backward seek iterations */
#define BACKWARD_SEEK_MUL 2 /* Multiplication factor of time_offset between
backward seek iterations */
-static const LttTime seek_back_default_offset = { 0, 1000000 };
+static const LttTime seek_back_default_offset = { 1, 0 };
+
+typedef gboolean check_handler(guint count, gboolean *stop_flag, gpointer data);
guint lttv_process_traceset_seek_n_forward(LttvTracesetContext *self,
guint n,
guint lttv_process_traceset_seek_n_forward(LttvTracesetContext *self,
guint n,
- LttvFilter *filter);
+ check_handler *check,
+ gboolean *stop_flag,
+ LttvFilter *filter1,
+ LttvFilter *filter2,
+ LttvFilter *filter3,
+ gpointer data);
typedef void (*seek_time_fct)(LttvTracesetContext *self, LttTime start);
/* If first_offset is ltt_time_zero, it will choose a default value */
typedef void (*seek_time_fct)(LttvTracesetContext *self, LttTime start);
/* If first_offset is ltt_time_zero, it will choose a default value */
@@
-360,7
+369,12
@@
guint lttv_process_traceset_seek_n_backward(LttvTracesetContext *self,
guint n,
LttTime first_offset,
seek_time_fct,
guint n,
LttTime first_offset,
seek_time_fct,
- LttvFilter *filter);
+ check_handler *check,
+ gboolean *stop_flag,
+ LttvFilter *filter1,
+ LttvFilter *filter2,
+ LttvFilter *filter3,
+ gpointer data);
#endif // PROCESSTRACE_H
#endif // PROCESSTRACE_H
This page took
0.023383 seconds
and
4
git commands to generate.