| 1 | #ifndef HEALTH_CONSUMERD_H |
| 2 | #define HEALTH_CONSUMERD_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 | #include <lttng/health-internal.h> |
| 12 | |
| 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, |
| 19 | |
| 20 | NR_HEALTH_CONSUMERD_TYPES, |
| 21 | }; |
| 22 | |
| 23 | /* Consumerd health monitoring */ |
| 24 | extern struct health_app *health_consumerd; |
| 25 | |
| 26 | void *thread_manage_health(void *data); |
| 27 | |
| 28 | extern int health_quit_pipe[2]; |
| 29 | |
| 30 | #endif /* HEALTH_CONSUMERD_H */ |