From 46e85f72a26186963836ee9071b93417ebc41af2 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Mon, 13 Apr 2015 12:32:30 +0200 Subject: [PATCH] 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. Signed-off-by: Boris Ranto --- src/perfglue/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/perfglue/Makefile.am b/src/perfglue/Makefile.am index f2b8d5030e641..9228b219a5708 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 -- 2.39.5