Commit | Line | Data |
---|---|---|
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> |
225221a8 | 22 | #include <stdbool.h> |
8782cc74 | 23 | |
6c71277b MD |
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, | |
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 */ | |
41 | extern struct health_app *health_sessiond; | |
42 | ||
225221a8 JG |
43 | bool launch_health_management_thread(void); |
44 | ||
8782cc74 | 45 | #endif /* HEALTH_SESSIOND_H */ |