2 * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: LGPL-2.1-only
9 #include <common/index-allocator.h>
12 * These are symbols that were erroneously exposed and have since been removed.
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
;
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
;
26 enum lttng_index_allocator_status
lttng_index_allocator_alloc(
27 struct lttng_index_allocator
*a
, uint64_t *b
)
29 return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR
;
32 struct lttng_index_allocator
* lttng_index_allocator_create(uint64_t a
)
37 void lttng_index_allocator_destroy(struct lttng_index_allocator
*a
)
41 uint64_t lttng_index_allocator_get_index_count(
42 struct lttng_index_allocator
*a
)
47 enum lttng_index_allocator_status
lttng_index_allocator_release(
48 struct lttng_index_allocator
*a
, uint64_t b
)
50 return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR
;