Fatal error causes kconsumerd to exit
[lttng-tools.git] / include / lttng-kernel.h
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 "lttng-share.h"
25
26 /*
27 * LTTng DebugFS ABI structures.
28 */
29 enum lttng_instrum_type {
30 INSTRUM_TRACEPOINTS,
31 };
32
33 struct lttng_channel {
34 int overwrite; /* 1: overwrite, 0: discard */
35 u64 subbuf_size;
36 u64 num_subbuf;
37 unsigned int switch_timer_interval;
38 unsigned int read_timer_interval;
39 };
40
41 struct lttng_event {
42 enum lttng_instrum_type itype;
43 char name[];
44 };
45
46 #endif /* _LTTNG_KERNEL_H */
This page took 0.03405 seconds and 6 git commands to generate.