X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Ftext%2FbatchAnalysis.c;h=80f11d3c361de18af0114c9cf1d54aca5e13031d;hb=d730b5c8b76588740d11bd12c6e85ed26bebdb4e;hp=785ff1a86c27b45a8b2819c22c5f58bd1da98d19;hpb=4e4d11b3b1db254446f6cad04b3c3fa9b574851f;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/text/batchAnalysis.c b/ltt/branches/poly/lttv/modules/text/batchAnalysis.c index 785ff1a8..80f11d3c 100644 --- a/ltt/branches/poly/lttv/modules/text/batchAnalysis.c +++ b/ltt/branches/poly/lttv/modules/text/batchAnalysis.c @@ -92,7 +92,7 @@ static gboolean process_traceset(void *hook_data, void *call_data) *(value_filter.v_pointer) = lttv_filter_new(); g_debug("Filter string: %s",((GString*)*(value_expression.v_pointer))->str); - g_assert(lttv_filter_append_expression(*(value_filter.v_pointer),((GString*)*(value_expression.v_pointer))->str)); + lttv_filter_append_expression(*(value_filter.v_pointer),((GString*)*(value_expression.v_pointer))->str); //lttv_traceset_context_add_hooks(tc, //before_traceset, after_traceset, NULL, before_trace, after_trace, @@ -117,7 +117,6 @@ static gboolean process_traceset(void *hook_data, void *call_data) G_MAXULONG, NULL); - g_info("BatchAnalysis destroy context"); //lttv_traceset_context_remove_hooks(tc, //before_traceset, after_traceset, NULL, before_trace, after_trace, @@ -129,6 +128,8 @@ static gboolean process_traceset(void *hook_data, void *call_data) event_hook, NULL); + g_info("BatchAnalysis destroy context"); + lttv_filter_destroy(*(value_filter.v_pointer)); lttv_state_remove_event_hooks(&tscs->parent); if(a_stats) lttv_stats_remove_event_hooks(tscs);