From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Michael Roth <mdroth@linux.vnet.ibm.com>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: [PATCH 1/3] configure: add missing CONFIG_TCMALLOC
Date: Mon, 14 Sep 2020 10:52:29 +0100 [thread overview]
Message-ID: <20200914095231.621068-2-stefanha@redhat.com> (raw)
In-Reply-To: <20200914095231.621068-1-stefanha@redhat.com>
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
next prev parent reply other threads:[~2020-09-14 9:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 9:52 [PATCH 0/3] configure: add missing CONFIG_FOO variables Stefan Hajnoczi
2020-09-14 9:52 ` Stefan Hajnoczi [this message]
2020-09-14 9:52 ` [PATCH 2/3] configure: add missing CONFIG_JEMALLOC Stefan Hajnoczi
2020-09-14 9:52 ` [PATCH 3/3] configure: rename QEMU_GA_MSI_ENABLED to CONFIG_QGA_MSI Stefan Hajnoczi
2020-09-14 10:50 ` [PATCH 0/3] configure: add missing CONFIG_FOO variables Paolo Bonzini
2020-09-15 10:56 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200914095231.621068-2-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).