]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Dencoder should never be built with tcmalloc
authorBoris Ranto <branto@redhat.com>
Mon, 13 Apr 2015 10:32:30 +0000 (12:32 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 29 Apr 2015 18:28:05 +0000 (20:28 +0200)
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 <branto@redhat.com>
(cherry picked from commit fb11c74d1dc3843f2f5b6dca9c76278c5ceeca1c)

src/perfglue/Makefile.am

index f2b8d5030e641ae2faeecd2f9147ecb310c7a001..9228b219a5708bfe3a9764203cd44762a21a8250 100644 (file)
@@ -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