projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add usertrace support
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
filter.c
diff --git
a/ltt/branches/poly/lttv/lttv/filter.c
b/ltt/branches/poly/lttv/lttv/filter.c
index dfbcaba8a7bb27b5736b0bce3163736628b07b70..567b54f0a797d7094f7e8a614e48fe2997848540 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/filter.c
+++ b/
ltt/branches/poly/lttv/lttv/filter.c
@@
-229,6
+229,9
@@
lttv_simple_expression_assign_field(GPtrArray* fp, LttvSimpleExpression* se) {
se->field = LTTV_FILTER_EVENT_FIELD;
}
} else {
se->field = LTTV_FILTER_EVENT_FIELD;
}
} else {
+ g_string_free(f,TRUE);
+ f=g_ptr_array_remove_index(fp,0);
+
g_warning("Unrecognized field in filter string");
}
g_warning("Unrecognized field in filter string");
}
@@
-1812,8
+1815,9
@@
lttv_filter_tree_parse(
LttvProcessState* state;
LttvProcessState* state;
- guint cpu = ltt_tracefile_num(context->tf);
LttvTraceState *ts = (LttvTraceState*)context->t_context;
LttvTraceState *ts = (LttvTraceState*)context->t_context;
+ LttvTracefileState *tfs = (LttvTracefileState*)context;
+ guint cpu = tfs->cpu;
state = ts->running_process[cpu];
/*
state = ts->running_process[cpu];
/*
This page took
0.025091 seconds
and
4
git commands to generate.