From: Jérémie Galarneau Date: Sat, 14 May 2016 21:23:34 +0000 (-0400) Subject: Re-add default size symbols which were erroneously exposed X-Git-Tag: v2.9.0-rc1~272 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=5bb69c35f42085f6684d985d6b872742f241e866;hp=ec2ed7da32f703bcacefca6a57865887700b780a Re-add default size symbols which were erroneously exposed Signed-off-by: Jérémie Galarneau --- diff --git a/src/lib/lttng-ctl/Makefile.am b/src/lib/lttng-ctl/Makefile.am index d1b923e42..5b87e38b7 100644 --- a/src/lib/lttng-ctl/Makefile.am +++ b/src/lib/lttng-ctl/Makefile.am @@ -5,7 +5,7 @@ SUBDIRS = filter lib_LTLIBRARIES = liblttng-ctl.la liblttng_ctl_la_SOURCES = lttng-ctl.c snapshot.c lttng-ctl-helper.h \ - lttng-ctl-health.c save.c load.c + lttng-ctl-health.c save.c load.c deprecated-symbols.c liblttng_ctl_la_LIBADD = \ $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ diff --git a/src/lib/lttng-ctl/deprecated-symbols.c b/src/lib/lttng-ctl/deprecated-symbols.c new file mode 100644 index 000000000..507042516 --- /dev/null +++ b/src/lib/lttng-ctl/deprecated-symbols.c @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2016 - Jérémie Galarneau + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License, version 2.1 only, + * as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include + +/* + * These are symbols that were erroneously exposed and have since been removed. + */ + +size_t default_channel_subbuf_size; +size_t default_kernel_channel_subbuf_size; +size_t default_metadata_subbuf_size; +size_t default_ust_pid_channel_subbuf_size; +size_t default_ust_uid_channel_subbuf_size;