2 * Copyright (C) 2005,2006 Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca)
4 * This contains the core definitions for the Linux Trace Toolkit.
6 * Dual LGPL v2.1/GPL v2 license.
9 #ifndef LTT_TRACER_CORE_H
10 #define LTT_TRACER_CORE_H
12 #include <linux/list.h>
13 #include <linux/percpu.h>
14 #include <linux/ltt-core.h>
20 typedef int (*ltt_run_filter_functor
)(struct ltt_session
*session
,
21 struct ltt_channel
*chan
,
22 struct ltt_event
*event
);
24 extern ltt_run_filter_functor ltt_run_filter
;
26 extern void ltt_filter_register(ltt_run_filter_functor func
);
27 extern void ltt_filter_unregister(void);
29 #endif /* LTT_TRACER_CORE_H */