Fatal error causes kconsumerd to exit
[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
9bda164d 24#include "lttng-share.h"
93128a92
DG
25
26/*
27 * LTTng DebugFS ABI structures.
28 */
29enum lttng_instrum_type {
30 INSTRUM_TRACEPOINTS,
31};
32
33struct 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
41struct lttng_event {
42 enum lttng_instrum_type itype;
43 char name[];
44};
45
46#endif /* _LTTNG_KERNEL_H */
This page took 0.023773 seconds and 4 git commands to generate.