Add field alignment support
[lttng-modules.git] / ltt-tracer-core.h
CommitLineData
17baffe2
MD
1#ifndef LTT_TRACER_CORE_H
2#define LTT_TRACER_CORE_H
3
1c8284eb 4/*
17baffe2
MD
5 * ltt-tracer-core.h
6 *
7 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
1c8284eb
MD
8 *
9 * This contains the core definitions for the Linux Trace Toolkit.
10 *
11 * Dual LGPL v2.1/GPL v2 license.
12 */
13
1c8284eb
MD
14#include <linux/list.h>
15#include <linux/percpu.h>
1c8284eb 16
6c29ebe7 17#if 1 //ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
6db3d13b
MD
18/* Align data on its natural alignment */
19#define RING_BUFFER_ALIGN
20#endif
21
f3bc08c5 22#include "wrapper/ringbuffer/config.h"
6db3d13b 23
1c25284c
MD
24struct ltt_session;
25struct ltt_channel;
26struct ltt_event;
1c8284eb 27
1c25284c
MD
28typedef int (*ltt_run_filter_functor)(struct ltt_session *session,
29 struct ltt_channel *chan,
30 struct ltt_event *event);
1c8284eb
MD
31
32extern ltt_run_filter_functor ltt_run_filter;
33
34extern void ltt_filter_register(ltt_run_filter_functor func);
35extern void ltt_filter_unregister(void);
36
37#endif /* LTT_TRACER_CORE_H */
This page took 0.023675 seconds and 4 git commands to generate.