Commit | Line | Data |
---|---|---|
5dc18550 | 1 | /* |
21cf9b6b JG |
2 | * Copyright (C) 2011 EfficiOS Inc. |
3 | * Copyright (C) 2011 EfficiOS Inc. | |
5dc18550 | 4 | * |
ab5be9fa | 5 | * SPDX-License-Identifier: GPL-2.0-only |
5dc18550 | 6 | * |
5dc18550 DG |
7 | */ |
8 | ||
3bd1e081 MD |
9 | #ifndef _LTTNG_CONSUMERD_H |
10 | #define _LTTNG_CONSUMERD_H | |
5dc18550 | 11 | |
46c487f9 | 12 | #include <common/consumer/consumer.hpp> |
748b7b07 | 13 | |
28f23191 | 14 | #define NR_LTTNG_CONSUMER_READY 1 |
748b7b07 MD |
15 | extern int lttng_consumer_ready; |
16 | ||
44cdb3a2 | 17 | extern const char *tracing_group_name; |
6c71277b | 18 | |
657d1bf1 | 19 | /* |
4bd69c5f SM |
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. | |
657d1bf1 | 23 | */ |
28f23191 | 24 | extern "C" LTTNG_EXPORT enum lttng_consumer_type lttng_consumer_get_type(); |
5c635c72 | 25 | |
3bd1e081 | 26 | #endif /* _LTTNG_CONSUMERD_H */ |