Commit | Line | Data |
---|---|---|
5bb69c35 | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
5bb69c35 | 3 | * |
ab5be9fa | 4 | * SPDX-License-Identifier: LGPL-2.1-only |
5bb69c35 | 5 | * |
5bb69c35 JG |
6 | */ |
7 | ||
8 | #include <stddef.h> | |
4cf84528 | 9 | #include <common/index-allocator.h> |
5bb69c35 JG |
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; | |
159b042f JG |
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; | |
4cf84528 JG |
25 | |
26 | enum lttng_index_allocator_status lttng_index_allocator_alloc( | |
fe7bf564 | 27 | struct lttng_index_allocator *a, uint64_t *b) |
4cf84528 JG |
28 | { |
29 | return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; | |
30 | } | |
31 | ||
fe7bf564 | 32 | struct lttng_index_allocator* lttng_index_allocator_create(uint64_t a) |
4cf84528 JG |
33 | { |
34 | return NULL; | |
35 | } | |
36 | ||
fe7bf564 | 37 | void lttng_index_allocator_destroy(struct lttng_index_allocator *a) |
4cf84528 JG |
38 | { |
39 | } | |
40 | ||
41 | uint64_t lttng_index_allocator_get_index_count( | |
fe7bf564 | 42 | struct lttng_index_allocator *a) |
4cf84528 JG |
43 | { |
44 | return -1ULL; | |
45 | } | |
46 | ||
47 | enum lttng_index_allocator_status lttng_index_allocator_release( | |
fe7bf564 | 48 | struct lttng_index_allocator *a, uint64_t b) |
4cf84528 JG |
49 | { |
50 | return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; | |
51 | } |