Commit | Line | Data |
---|---|---|
8782cc74 MD |
1 | #ifndef HEALTH_SESSIOND_H |
2 | #define HEALTH_SESSIOND_H | |
3 | ||
4 | /* | |
ab5be9fa | 5 | * Copyright (C) 2012 David Goulet <dgoulet@efficios.com> |
8782cc74 | 6 | * |
ab5be9fa | 7 | * SPDX-License-Identifier: GPL-2.0-only |
8782cc74 | 8 | * |
8782cc74 MD |
9 | */ |
10 | ||
55d09795 | 11 | #include <lttng/health-internal.h> |
173fca4f | 12 | #include <stdbool.h> |
8782cc74 | 13 | |
6c71277b MD |
14 | enum health_type_sessiond { |
15 | HEALTH_SESSIOND_TYPE_CMD = 0, | |
16 | HEALTH_SESSIOND_TYPE_APP_MANAGE = 1, | |
17 | HEALTH_SESSIOND_TYPE_APP_REG = 2, | |
18 | HEALTH_SESSIOND_TYPE_KERNEL = 3, | |
19 | HEALTH_SESSIOND_TYPE_CONSUMER = 4, | |
6c71277b MD |
20 | HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY = 6, |
21 | HEALTH_SESSIOND_TYPE_APP_REG_DISPATCH = 7, | |
ab0ee2ca | 22 | HEALTH_SESSIOND_TYPE_NOTIFICATION = 8, |
db66e574 | 23 | HEALTH_SESSIOND_TYPE_ROTATION = 9, |
d086f507 | 24 | HEALTH_SESSIOND_TYPE_TIMER = 10, |
f2b3ef9f | 25 | HEALTH_SESSIOND_TYPE_ACTION_EXECUTOR = 11, |
8782cc74 | 26 | |
6c71277b | 27 | NR_HEALTH_SESSIOND_TYPES, |
8782cc74 MD |
28 | }; |
29 | ||
30 | /* Application health monitoring */ | |
412d7227 | 31 | extern struct health_app *the_health_sessiond; |
8782cc74 | 32 | |
173fca4f JG |
33 | bool launch_health_management_thread(void); |
34 | ||
8782cc74 | 35 | #endif /* HEALTH_SESSIOND_H */ |