X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdeprecated-symbols.c;h=8b1a8e7a9629938311e041ee14e96f8bd2ea7003;hb=4cf84528f9620f27677bda5b2e486144913a2414;hp=0ea802c5e641225c91e8c8b4a533c11fdbddc162;hpb=cb2e451438cacef211d42ab9d46aa20af9fc598c;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/deprecated-symbols.c b/src/lib/lttng-ctl/deprecated-symbols.c index 0ea802c5e..8b1a8e7a9 100644 --- a/src/lib/lttng-ctl/deprecated-symbols.c +++ b/src/lib/lttng-ctl/deprecated-symbols.c @@ -6,6 +6,7 @@ */ #include +#include /* * These are symbols that were erroneously exposed and have since been removed. @@ -21,3 +22,30 @@ const char * const config_element_pid_tracker; const char * const config_element_target_pid; const char * const config_element_targets; const char * const config_element_trackers; + +enum lttng_index_allocator_status lttng_index_allocator_alloc( + struct lttng_index_allocator*, uint64_t*) +{ + return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; +} + +struct lttng_index_allocator* lttng_index_allocator_create(uint64_t) +{ + return NULL; +} + +void lttng_index_allocator_destroy(struct lttng_index_allocator*) +{ +} + +uint64_t lttng_index_allocator_get_index_count( + struct lttng_index_allocator*) +{ + return -1ULL; +} + +enum lttng_index_allocator_status lttng_index_allocator_release( + struct lttng_index_allocator*, uint64_t) +{ + return LTTNG_INDEX_ALLOCATOR_STATUS_ERROR; +}