1 #ifndef LTT_TRACER_CORE_H
2 #define LTT_TRACER_CORE_H
7 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 * This contains the core definitions for the Linux Trace Toolkit.
11 * Dual LGPL v2.1/GPL v2 license.
14 #include <linux/list.h>
15 #include <linux/percpu.h>
17 #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
18 /* Align data on its natural alignment */
19 #define RING_BUFFER_ALIGN
22 #include "wrapper/ringbuffer/config.h"
28 typedef int (*ltt_run_filter_functor
)(struct ltt_session
*session
,
29 struct ltt_channel
*chan
,
30 struct ltt_event
*event
);
32 extern ltt_run_filter_functor ltt_run_filter
;
34 extern void ltt_filter_register(ltt_run_filter_functor func
);
35 extern void ltt_filter_unregister(void);
37 #endif /* LTT_TRACER_CORE_H */