1 #ifndef HEALTH_SESSIOND_H
2 #define HEALTH_SESSIOND_H
5 * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License, version 2 only, as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc., 51
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <lttng/health-internal.h>
24 enum health_type_sessiond
{
25 HEALTH_SESSIOND_TYPE_CMD
= 0,
26 HEALTH_SESSIOND_TYPE_APP_MANAGE
= 1,
27 HEALTH_SESSIOND_TYPE_APP_REG
= 2,
28 HEALTH_SESSIOND_TYPE_KERNEL
= 3,
29 HEALTH_SESSIOND_TYPE_CONSUMER
= 4,
30 HEALTH_SESSIOND_TYPE_HT_CLEANUP
= 5,
31 HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY
= 6,
32 HEALTH_SESSIOND_TYPE_APP_REG_DISPATCH
= 7,
33 HEALTH_SESSIOND_TYPE_NOTIFICATION
= 8,
34 HEALTH_SESSIOND_TYPE_ROTATION
= 9,
35 HEALTH_SESSIOND_TYPE_TIMER
= 10,
37 NR_HEALTH_SESSIOND_TYPES
,
40 /* Application health monitoring */
41 extern struct health_app
*health_sessiond
;
43 bool launch_health_management_thread(void);
45 #endif /* HEALTH_SESSIOND_H */