| 1 | /* |
| 2 | * SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) |
| 3 | * |
| 4 | * Copyright (C) 2020 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | * |
| 6 | * LTTng lib counter client. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _LTTNG_UST_COUNTER_CLIENT_H |
| 10 | #define _LTTNG_UST_COUNTER_CLIENT_H |
| 11 | |
| 12 | /* |
| 13 | * The counter clients init/exit symbols are private ABI for |
| 14 | * liblttng-ust-ctl, which is why they are not hidden. |
| 15 | */ |
| 16 | |
| 17 | void lttng_ust_counter_clients_init(void); |
| 18 | void lttng_ust_counter_clients_exit(void); |
| 19 | |
| 20 | void lttng_counter_client_percpu_32_modular_init(void) |
| 21 | __attribute__((visibility("hidden"))); |
| 22 | |
| 23 | void lttng_counter_client_percpu_32_modular_exit(void) |
| 24 | __attribute__((visibility("hidden"))); |
| 25 | |
| 26 | void lttng_counter_client_percpu_64_modular_init(void) |
| 27 | __attribute__((visibility("hidden"))); |
| 28 | |
| 29 | void lttng_counter_client_percpu_64_modular_exit(void) |
| 30 | __attribute__((visibility("hidden"))); |
| 31 | |
| 32 | #endif |