From: Boris Ranto Date: Mon, 13 Apr 2015 10:32:30 +0000 (+0200) Subject: Dencoder should never be built with tcmalloc X-Git-Tag: v0.94.2~40^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f994483c0e3a60226c8fb6983380ef8400b0160e;p=ceph.git Dencoder should never be built with tcmalloc The patch adds disabled perfglue stubs to DENCODER sources in order to avoid tcmalloc-enabled ceph-dencoder builds. Refs: #10691 Signed-off-by: Boris Ranto (cherry picked from commit fb11c74d1dc3843f2f5b6dca9c76278c5ceeca1c) --- diff --git a/src/perfglue/Makefile.am b/src/perfglue/Makefile.am index f2b8d5030e6..9228b219a57 100644 --- a/src/perfglue/Makefile.am +++ b/src/perfglue/Makefile.am @@ -17,6 +17,11 @@ endif # WITH_PROFILER noinst_LTLIBRARIES += libperfglue.la +# Do not use TCMALLOC with dencoder +DENCODER_SOURCES += \ + perfglue/disabled_heap_profiler.cc \ + perfglue/disabled_stubs.cc + noinst_HEADERS += \ perfglue/cpu_profiler.h \ perfglue/heap_profiler.h