Use lttng api for the load command
[lttng-tools.git] / src / bin / lttng-consumerd / health-consumerd.h
1 #ifndef HEALTH_CONSUMERD_H
2 #define HEALTH_CONSUMERD_H
3
4 /*
5 * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
6 * Copyright (C) 2013 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License, version 2 only, as
10 * published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 * more details.
16 *
17 * You should have received a copy of the GNU General Public License along with
18 * this program; if not, write to the Free Software Foundation, Inc., 51
19 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #include <lttng/health-internal.h>
23
24 enum health_type_consumerd {
25 HEALTH_CONSUMERD_TYPE_CHANNEL = 0,
26 HEALTH_CONSUMERD_TYPE_METADATA = 1,
27 HEALTH_CONSUMERD_TYPE_DATA = 2,
28 HEALTH_CONSUMERD_TYPE_SESSIOND = 3,
29 HEALTH_CONSUMERD_TYPE_METADATA_TIMER = 4,
30
31 NR_HEALTH_CONSUMERD_TYPES,
32 };
33
34 /* Consumerd health monitoring */
35 extern struct health_app *health_consumerd;
36
37 void *thread_manage_health(void *data);
38
39 extern int health_quit_pipe[2];
40
41 #endif /* HEALTH_CONSUMERD_H */
This page took 0.029826 seconds and 4 git commands to generate.