Commit | Line | Data |
---|---|---|
1fc79fb4 MD |
1 | #ifndef HEALTH_CONSUMERD_H |
2 | #define HEALTH_CONSUMERD_H | |
3 | ||
4 | /* | |
ab5be9fa MJ |
5 | * Copyright (C) 2012 David Goulet <dgoulet@efficios.com> |
6 | * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
1fc79fb4 | 7 | * |
ab5be9fa | 8 | * SPDX-License-Identifier: GPL-2.0-only |
1fc79fb4 MD |
9 | */ |
10 | ||
c9e313bc | 11 | #include <lttng/health-internal.hpp> |
1fc79fb4 | 12 | |
6c71277b | 13 | enum health_type_consumerd { |
1fc79fb4 MD |
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 */ | |
5528d42f | 24 | extern struct health_app *health_consumerd; |
1fc79fb4 | 25 | |
19708280 | 26 | void *thread_manage_health_consumerd(void *data); |
5c635c72 | 27 | |
5528d42f | 28 | extern int health_quit_pipe[2]; |
5c635c72 | 29 | |
1fc79fb4 | 30 | #endif /* HEALTH_CONSUMERD_H */ |