]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson:disable heap profiler for seastar
authorChunmei Liu <chunmei.liu@intel.com>
Wed, 22 Jan 2020 07:06:41 +0000 (23:06 -0800)
committerChunmei Liu <chunmei.liu@intel.com>
Fri, 28 Feb 2020 03:57:35 +0000 (19:57 -0800)
alien bluestore will link with heap profiler, but seastar not support
heap profiler with seastar defaut allocator, so disable it.

Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
src/perfglue/CMakeLists.txt

index 11546e98e53731ed30efb126b1cab799774872c7..b2cb608da28665866ceb76f808b7841f6d00b56b 100644 (file)
@@ -1,4 +1,4 @@
-if(ALLOCATOR STREQUAL "tcmalloc")
+if(ALLOCATOR STREQUAL "tcmalloc" AND NOT WITH_SEASTAR)
   add_library(heap_profiler STATIC
     heap_profiler.cc)
   target_link_libraries(heap_profiler