Launch the rotation thread using lttng_thread
[lttng-tools.git] / src / bin / lttng-sessiond / health-sessiond.h
CommitLineData
8782cc74
MD
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
55d09795 21#include <lttng/health-internal.h>
173fca4f 22#include <stdbool.h>
8782cc74 23
6c71277b
MD
24enum 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,
ab0ee2ca 33 HEALTH_SESSIOND_TYPE_NOTIFICATION = 8,
db66e574 34 HEALTH_SESSIOND_TYPE_ROTATION = 9,
d086f507 35 HEALTH_SESSIOND_TYPE_TIMER = 10,
8782cc74 36
6c71277b 37 NR_HEALTH_SESSIOND_TYPES,
8782cc74
MD
38};
39
40/* Application health monitoring */
41extern struct health_app *health_sessiond;
42
173fca4f
JG
43bool launch_health_management_thread(void);
44
8782cc74 45#endif /* HEALTH_SESSIOND_H */
This page took 0.038901 seconds and 4 git commands to generate.