qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] configure: add missing CONFIG_TCMALLOC


From: Stefan Hajnoczi
Subject: [PATCH 1/3] configure: add missing CONFIG_TCMALLOC
Date: Mon, 14 Sep 2020 10:52:29 +0100

The feature summary in meson.build checks for CONFIG_TCMALLOC:

  summary_info += {'tcmalloc support':  config_host.has_key('CONFIG_TCMALLOC')}

Nothing emits CONFIG_TCMALLOC in ./configure so this feature appears
disabled even if it has been enabled.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 2b6a1196da..9f5b3a8897 100755
--- a/configure
+++ b/configure
@@ -7027,6 +7027,10 @@ if test "$malloc_trim" = "yes" ; then
   echo "CONFIG_MALLOC_TRIM=y" >> $config_host_mak
 fi
 
+if test "$tcmalloc" = "yes" ; then
+  echo "CONFIG_TCMALLOC=y" >> $config_host_mak
+fi
+
 if test "$avx2_opt" = "yes" ; then
   echo "CONFIG_AVX2_OPT=y" >> $config_host_mak
 fi
-- 
2.26.2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]