1 #ifndef HEALTH_CONSUMERD_H
2 #define HEALTH_CONSUMERD_H
5 * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
6 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * SPDX-License-Identifier: GPL-2.0-only
11 #include <lttng/health-internal.h>
13 enum health_type_consumerd
{
14 HEALTH_CONSUMERD_TYPE_CHANNEL
= 0,
15 HEALTH_CONSUMERD_TYPE_METADATA
= 1,
16 HEALTH_CONSUMERD_TYPE_DATA
= 2,
17 HEALTH_CONSUMERD_TYPE_SESSIOND
= 3,
18 HEALTH_CONSUMERD_TYPE_METADATA_TIMER
= 4,
20 NR_HEALTH_CONSUMERD_TYPES
,
23 /* Consumerd health monitoring */
24 extern struct health_app
*health_consumerd
;
26 void *thread_manage_health(void *data
);
28 extern int health_quit_pipe
[2];
30 #endif /* HEALTH_CONSUMERD_H */