Add lttng-kernel header
[lttng-tools.git] / include / lttng-kernel.h
CommitLineData
93128a92
DG
1/*
2 * Copyright (C) 2011 - Julien Desfossez <julien.desfossez@polymtl.ca>
3 * Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * David Goulet <david.goulet@polymtl.ca>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20
21#ifndef _LTTNG_KERNEL_H
22#define _LTTNG_KERNEL_H
23
24#include <stdint.h>
25
26typedef uint64_t u64;
27
28/*
29 * LTTng DebugFS ABI structures.
30 */
31enum lttng_instrum_type {
32 INSTRUM_TRACEPOINTS,
33};
34
35struct lttng_channel {
36 int overwrite; /* 1: overwrite, 0: discard */
37 u64 subbuf_size;
38 u64 num_subbuf;
39 unsigned int switch_timer_interval;
40 unsigned int read_timer_interval;
41};
42
43struct lttng_event {
44 enum lttng_instrum_type itype;
45 char name[];
46};
47
48#endif /* _LTTNG_KERNEL_H */
This page took 0.025278 seconds and 5 git commands to generate.