Launch the ht-cleanup thread using lttng_thread util
[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
23 enum health_type_sessiond {
24 HEALTH_SESSIOND_TYPE_CMD = 0,
25 HEALTH_SESSIOND_TYPE_APP_MANAGE = 1,
26 HEALTH_SESSIOND_TYPE_APP_REG = 2,
27 HEALTH_SESSIOND_TYPE_KERNEL = 3,
28 HEALTH_SESSIOND_TYPE_CONSUMER = 4,
29 HEALTH_SESSIOND_TYPE_HT_CLEANUP = 5,
30 HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY = 6,
31 HEALTH_SESSIOND_TYPE_APP_REG_DISPATCH = 7,
32 HEALTH_SESSIOND_TYPE_NOTIFICATION = 8,
33 HEALTH_SESSIOND_TYPE_ROTATION = 9,
34 HEALTH_SESSIOND_TYPE_TIMER = 10,
35
36 NR_HEALTH_SESSIOND_TYPES,
37 };
38
39 /* Application health monitoring */
40 extern struct health_app *health_sessiond;
41
42 #endif /* HEALTH_SESSIOND_H */
This page took 0.038845 seconds and 4 git commands to generate.