8b1a8e7a9629938311e041ee14e96f8bd2ea7003
[lttng-tools.git] / src / lib / lttng-ctl / deprecated-symbols.c
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*, uint64_t*)
28 {
29 return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR;
30 }
31
32 struct lttng_index_allocator* lttng_index_allocator_create(uint64_t)
33 {
34 return NULL;
35 }
36
37 void lttng_index_allocator_destroy(struct lttng_index_allocator*)
38 {
39 }
40
41 uint64_t lttng_index_allocator_get_index_count(
42 struct lttng_index_allocator*)
43 {
44 return -1ULL;
45 }
46
47 enum lttng_index_allocator_status lttng_index_allocator_release(
48 struct lttng_index_allocator*, uint64_t)
49 {
50 return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR;
51 }
This page took 0.029589 seconds and 3 git commands to generate.