1 #ifndef HEALTH_SESSIOND_H
2 #define HEALTH_SESSIOND_H
5 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
7 * SPDX-License-Identifier: GPL-2.0-only
11 #include <lttng/health-internal.hpp>
15 enum health_type_sessiond {
16 HEALTH_SESSIOND_TYPE_CMD = 0,
17 HEALTH_SESSIOND_TYPE_APP_MANAGE = 1,
18 HEALTH_SESSIOND_TYPE_APP_REG = 2,
19 HEALTH_SESSIOND_TYPE_KERNEL = 3,
20 HEALTH_SESSIOND_TYPE_CONSUMER = 4,
21 HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY = 6,
22 HEALTH_SESSIOND_TYPE_APP_REG_DISPATCH = 7,
23 HEALTH_SESSIOND_TYPE_NOTIFICATION = 8,
24 HEALTH_SESSIOND_TYPE_ROTATION = 9,
25 HEALTH_SESSIOND_TYPE_TIMER = 10,
26 HEALTH_SESSIOND_TYPE_ACTION_EXECUTOR = 11,
28 NR_HEALTH_SESSIOND_TYPES,
31 /* Application health monitoring */
32 extern struct health_app *the_health_sessiond;
34 bool launch_health_management_thread();
36 #endif /* HEALTH_SESSIOND_H */