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