/usr/include/glib-2.0/glib/gtypes.h \
/usr/lib/glib-2.0/include/glibconfig.h \
/usr/include/glib-2.0/glib/gmacros.h \
- /usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h \
- /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h \
- /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h \
+ /usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h \
+ /usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h \
+ /usr/lib/gcc/i386-redhat-linux/3.4.2/include/syslimits.h \
/usr/include/limits.h /usr/include/features.h /usr/include/sys/cdefs.h \
/usr/include/gnu/stubs.h /usr/include/bits/posix1_lim.h \
/usr/include/bits/local_lim.h /usr/include/linux/limits.h \
/usr/include/bits/posix2_lim.h \
- /usr/lib/gcc-lib/i486-linux/3.3.5/include/float.h \
+ /usr/lib/gcc/i386-redhat-linux/3.4.2/include/float.h \
/usr/include/glib-2.0/glib/garray.h \
/usr/include/glib-2.0/glib/gasyncqueue.h \
/usr/include/glib-2.0/glib/gthread.h \
/usr/include/glib-2.0/glib/gstring.h \
/usr/include/glib-2.0/glib/gunicode.h \
/usr/include/glib-2.0/glib/gutils.h \
- /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h \
+ /usr/lib/gcc/i386-redhat-linux/3.4.2/include/stdarg.h \
/usr/include/glib-2.0/glib/gmarkup.h \
/usr/include/glib-2.0/glib/gmessages.h \
/usr/include/glib-2.0/glib/gnode.h \
/usr/include/atk-1.0/atk/atknoopobjectfactory.h \
/usr/include/atk-1.0/atk/atkobjectfactory.h \
/usr/include/atk-1.0/atk/atkregistry.h \
+ /usr/include/atk-1.0/atk/atkobjectfactory.h \
/usr/include/atk-1.0/atk/atkrelation.h \
/usr/include/atk-1.0/atk/atkrelationset.h \
/usr/include/atk-1.0/atk/atkselection.h \
/usr/include/gtk-2.0/gtk/gtktextmark.h \
/usr/include/gtk-2.0/gtk/gtktextview.h \
/usr/include/gtk-2.0/gtk/gtktipsquery.h \
+ /usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h \
/usr/include/gtk-2.0/gtk/gtktoolbar.h \
+ /usr/include/gtk-2.0/gtk/gtktoolbutton.h \
+ /usr/include/gtk-2.0/gtk/gtktoolitem.h \
/usr/include/gtk-2.0/gtk/gtktree.h \
/usr/include/gtk-2.0/gtk/gtktreednd.h \
/usr/include/gtk-2.0/gtk/gtktreeitem.h \
/usr/include/glib-2.0/glib/gmacros.h:
-/usr/lib/gcc-lib/i486-linux/3.3.5/include/stddef.h:
+/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h:
-/usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:
+/usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h:
-/usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:
+/usr/lib/gcc/i386-redhat-linux/3.4.2/include/syslimits.h:
/usr/include/limits.h:
/usr/include/bits/posix2_lim.h:
-/usr/lib/gcc-lib/i486-linux/3.3.5/include/float.h:
+/usr/lib/gcc/i386-redhat-linux/3.4.2/include/float.h:
/usr/include/glib-2.0/glib/garray.h:
/usr/include/glib-2.0/glib/gutils.h:
-/usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h:
+/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stdarg.h:
/usr/include/glib-2.0/glib/gmarkup.h:
/usr/include/atk-1.0/atk/atkregistry.h:
+/usr/include/atk-1.0/atk/atkobjectfactory.h:
+
/usr/include/atk-1.0/atk/atkrelation.h:
/usr/include/atk-1.0/atk/atkrelationset.h:
/usr/include/gtk-2.0/gtk/gtktipsquery.h:
+/usr/include/gtk-2.0/gtk/gtktoggletoolbutton.h:
+
/usr/include/gtk-2.0/gtk/gtktoolbar.h:
+/usr/include/gtk-2.0/gtk/gtktoolbutton.h:
+
+/usr/include/gtk-2.0/gtk/gtktoolitem.h:
+
/usr/include/gtk-2.0/gtk/gtktree.h:
/usr/include/gtk-2.0/gtk/gtktreednd.h:
#include <lttv/tracecontext.h>
#include <lttv/state.h>
#include <lttv/stats.h>
+#include <lttv/filter.h>
#include <ltt/trace.h>
static LttvTraceset *traceset;
static gboolean a_stats;
+static lttv_filter *a_lttv_filter;
+
+extern GString *a_filter_string;
+
void lttv_trace_option(void *hook_data)
{
LttTrace *trace;
lttv_state_add_event_hooks(&tscs->parent);
if(a_stats) lttv_stats_add_event_hooks(tscs);
+ a_lttv_filter = lttv_filter_new(a_filter_string,(LttvTraceState*)tscs);
+
//lttv_traceset_context_add_hooks(tc,
//before_traceset, after_traceset, NULL, before_trace, after_trace,
//NULL, before_tracefile, after_tracefile, NULL, before_event, after_event);
event_hook,
NULL);
+ lttv_filter_destroy(a_lttv_filter);
lttv_state_remove_event_hooks(&tscs->parent);
if(a_stats) lttv_stats_remove_event_hooks(tscs);
lttv_context_fini(tc);
LTTV_MODULE("batchAnalysis", "Batch processing of a trace", \
"Run through a trace calling all the registered hooks", \
- init, destroy, "state", "stats", "option")
+ init, destroy, "state", "stats", "option","filter")