Attached is what ubuntu is doing.
diff --git a/debian/liblttng-ust-python-agent1.symbols b/debian/liblttng-ust-python-agent1.symbols index 4ecb039..297a0cd 100644 --- a/debian/liblttng-ust-python-agent1.symbols +++ b/debian/liblttng-ust-python-agent1.symbols @@ -1,5 +1,5 @@ liblttng-ust-python-agent.so.1 liblttng-ust-python-agent1 #MINVER# * Build-Depends-Package: liblttng-ust-dev - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 py_tracepoint@Base 2.13.0 diff --git a/debian/liblttng-ust1.symbols b/debian/liblttng-ust1.symbols index 6e00afb..6fe63d6 100644 --- a/debian/liblttng-ust1.symbols +++ b/debian/liblttng-ust1.symbols @@ -2,18 +2,18 @@ liblttng-ust-cyg-profile-fast.so.1 liblttng-ust1 #MINVER# * Build-Depends-Package: liblttng-ust-dev __cyg_profile_func_enter@Base 2.13.0 __cyg_profile_func_exit@Base 2.13.0 - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 liblttng-ust-cyg-profile.so.1 liblttng-ust1 #MINVER# * Build-Depends-Package: liblttng-ust-dev __cyg_profile_func_enter@Base 2.13.0 __cyg_profile_func_exit@Base 2.13.0 - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 liblttng-ust-dl.so.1 liblttng-ust1 #MINVER# * Build-Depends-Package: liblttng-ust-dev - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 dlclose@Base 2.13.0 dlmopen@Base 2.13.0 dlopen@Base 2.13.0 @@ -38,8 +38,8 @@ liblttng-ust-fork.so.1 liblttng-ust1 #MINVER# unshare@Base 2.13.0 liblttng-ust-libc-wrapper.so.1 liblttng-ust1 #MINVER# * Build-Depends-Package: liblttng-ust-dev - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 calloc@Base 2.13.0 free@Base 2.13.0 lttng_ust_libc_wrapper_malloc_ctor@Base 2.13.0 @@ -49,8 +49,8 @@ liblttng-ust-libc-wrapper.so.1 liblttng-ust1 #MINVER# realloc@Base 2.13.0 liblttng-ust-pthread-wrapper.so.1 liblttng-ust1 #MINVER# * Build-Depends-Package: liblttng-ust-dev - __start_lttng_ust_tracepoints_ptrs@Base 2.13.0 - __stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__start_lttng_ust_tracepoints_ptrs@Base 2.13.0 + (optional=lto)__stop_lttng_ust_tracepoints_ptrs@Base 2.13.0 pthread_mutex_lock@Base 2.13.0 pthread_mutex_trylock@Base 2.13.0 pthread_mutex_unlock@Base 2.13.0