| 1 | /* |
| 2 | * Copyright (C) 2011 EfficiOS Inc. |
| 3 | * Copyright (C) 2011 EfficiOS Inc. |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0-only |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef _LTTNG_CONSUMERD_H |
| 10 | #define _LTTNG_CONSUMERD_H |
| 11 | |
| 12 | #include <common/consumer/consumer.hpp> |
| 13 | |
| 14 | #define NR_LTTNG_CONSUMER_READY 1 |
| 15 | extern int lttng_consumer_ready; |
| 16 | |
| 17 | extern const char *tracing_group_name; |
| 18 | |
| 19 | /* |
| 20 | * This function is dlsym-ed from a test, so needs to be exported. Making it |
| 21 | * have a C linkage name makes it easier, as it avoids having to look up a |
| 22 | * mangled name. |
| 23 | */ |
| 24 | extern "C" LTTNG_EXPORT |
| 25 | enum lttng_consumer_type lttng_consumer_get_type(); |
| 26 | |
| 27 | #endif /* _LTTNG_CONSUMERD_H */ |