| 1 | /* |
| 2 | * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: LGPL-2.1-only |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <stddef.h> |
| 9 | #include <common/index-allocator.h> |
| 10 | |
| 11 | /* |
| 12 | * These are symbols that were erroneously exposed and have since been removed. |
| 13 | */ |
| 14 | |
| 15 | size_t default_channel_subbuf_size; |
| 16 | size_t default_kernel_channel_subbuf_size; |
| 17 | size_t default_metadata_subbuf_size; |
| 18 | size_t default_ust_pid_channel_subbuf_size; |
| 19 | size_t default_ust_uid_channel_subbuf_size; |
| 20 | |
| 21 | const char * const config_element_pid_tracker; |
| 22 | const char * const config_element_target_pid; |
| 23 | const char * const config_element_targets; |
| 24 | const char * const config_element_trackers; |
| 25 | |
| 26 | enum lttng_index_allocator_status lttng_index_allocator_alloc( |
| 27 | struct lttng_index_allocator *a, uint64_t *b) |
| 28 | { |
| 29 | return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; |
| 30 | } |
| 31 | |
| 32 | struct lttng_index_allocator* lttng_index_allocator_create(uint64_t a) |
| 33 | { |
| 34 | return NULL; |
| 35 | } |
| 36 | |
| 37 | void lttng_index_allocator_destroy(struct lttng_index_allocator *a) |
| 38 | { |
| 39 | } |
| 40 | |
| 41 | uint64_t lttng_index_allocator_get_index_count( |
| 42 | struct lttng_index_allocator *a) |
| 43 | { |
| 44 | return -1ULL; |
| 45 | } |
| 46 | |
| 47 | enum lttng_index_allocator_status lttng_index_allocator_release( |
| 48 | struct lttng_index_allocator *a, uint64_t b) |
| 49 | { |
| 50 | return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; |
| 51 | } |