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