Fix: post-clear trace chunk has a late beginning packet
[lttng-tools.git] / src / bin / lttng-relayd / health-relayd.h
1 #ifndef HEALTH_RELAYD_H
2 #define HEALTH_RELAYD_H
3
4 /*
5 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
6 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 *
8 * SPDX-License-Identifier: GPL-2.0-only
9 *
10 */
11
12 #include <limits.h>
13 #include <lttng/health-internal.h>
14
15 #define LTTNG_RELAYD_HEALTH_ENV "LTTNG_RELAYD_HEALTH"
16
17 enum health_type_relayd {
18 HEALTH_RELAYD_TYPE_DISPATCHER = 0,
19 HEALTH_RELAYD_TYPE_WORKER = 1,
20 HEALTH_RELAYD_TYPE_LISTENER = 2,
21 HEALTH_RELAYD_TYPE_LIVE_DISPATCHER = 3,
22 HEALTH_RELAYD_TYPE_LIVE_WORKER = 4,
23 HEALTH_RELAYD_TYPE_LIVE_LISTENER = 5,
24
25 NR_HEALTH_RELAYD_TYPES,
26 };
27
28 extern struct health_app *health_relayd;
29
30 extern int health_quit_pipe[2];
31
32 void *thread_manage_health(void *data);
33
34 #endif /* HEALTH_RELAYD_H */
This page took 0.030577 seconds and 4 git commands to generate.