X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt-tracer-core.h;h=5abc432d24a0a6bebd210d7a304c325eb131c9d7;hb=b426d8af39ec29108dc3d4b6dcb09054138b0a8c;hp=c300e5d2d55352cd9c949d0d8cdda8fdf1ade57a;hpb=6db3d13b849ff90922bd55fdaf047d746d79ba4a;p=lttng-modules.git diff --git a/ltt-tracer-core.h b/ltt-tracer-core.h index c300e5d2..5abc432d 100644 --- a/ltt-tracer-core.h +++ b/ltt-tracer-core.h @@ -1,36 +1,28 @@ +#ifndef LTT_TRACER_CORE_H +#define LTT_TRACER_CORE_H + /* - * Copyright (C) 2005,2006 Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca) + * ltt-tracer-core.h + * + * Copyright (C) 2005-2011 Mathieu Desnoyers * * This contains the core definitions for the Linux Trace Toolkit. * * Dual LGPL v2.1/GPL v2 license. */ -#ifndef LTT_TRACER_CORE_H -#define LTT_TRACER_CORE_H - #include #include -#include #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS /* Align data on its natural alignment */ #define RING_BUFFER_ALIGN #endif -#include +#include "wrapper/ringbuffer/config.h" struct ltt_session; struct ltt_channel; struct ltt_event; -typedef int (*ltt_run_filter_functor)(struct ltt_session *session, - struct ltt_channel *chan, - struct ltt_event *event); - -extern ltt_run_filter_functor ltt_run_filter; - -extern void ltt_filter_register(ltt_run_filter_functor func); -extern void ltt_filter_unregister(void); - #endif /* LTT_TRACER_CORE_H */