Support LTTNG_KERNEL_SESSION_SET_CREATION_DATETIME of lttng-modules
[lttng-tools.git] / src / bin / lttng-sessiond / health-sessiond.h
1 #ifndef HEALTH_SESSIOND_H
2 #define HEALTH_SESSIOND_H
3
4 /*
5 * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
6 *
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.
10 *
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
14 * more details.
15 *
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.
19 */
20
21 #include <lttng/health-internal.h>
22 #include <stdbool.h>
23
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,
36
37 NR_HEALTH_SESSIOND_TYPES,
38 };
39
40 /* Application health monitoring */
41 extern struct health_app *health_sessiond;
42
43 bool launch_health_management_thread(void);
44
45 #endif /* HEALTH_SESSIOND_H */
This page took 0.035576 seconds and 5 git commands to generate.