1 #ifndef HEALTH_CONSUMERD_H
2 #define HEALTH_CONSUMERD_H
5 * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
6 * Copyright (C) 2013 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.
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
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.
22 #include <lttng/health-internal.h>
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,
31 NR_HEALTH_CONSUMERD_TYPES
,
34 /* Consumerd health monitoring */
35 extern struct health_app
*health_consumerd
;
37 void *thread_manage_health(void *data
);
39 extern int health_quit_pipe
[2];
41 #endif /* HEALTH_CONSUMERD_H */