summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2021-04-13 20:23:46 +0100
committerDaniel Black <daniel@mariadb.org>2021-04-14 19:21:35 +1000
commit9a3cbc05415dd862852dffbd368527319107f460 (patch)
tree8f9556308a6f0cd65b7bac4bf7193c6b37268f92 /configure.cmake
parent6c3e860cbf36831c118f6ea183acbbeb3c889bed (diff)
downloadmariadb-git-9a3cbc05415dd862852dffbd368527319107f460.tar.gz
mysqld: print status display subset of memory usage.bb-10.5-danielblack-pr1803-darwin-debug-memory
leveling up to some degree with linux's mallinfo* api for the memory usage display with debug build with malloc_zone Darwin api. Closes: #1803
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index a90ba810b40..8cff10a24ac 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -364,6 +364,7 @@ CHECK_FUNCTION_EXISTS (lstat HAVE_LSTAT)
CHECK_FUNCTION_EXISTS (madvise HAVE_MADVISE)
CHECK_FUNCTION_EXISTS (mallinfo HAVE_MALLINFO)
CHECK_FUNCTION_EXISTS (mallinfo2 HAVE_MALLINFO2)
+CHECK_FUNCTION_EXISTS (malloc_zone_statistics HAVE_MALLOC_ZONE)
CHECK_FUNCTION_EXISTS (memcpy HAVE_MEMCPY)
CHECK_FUNCTION_EXISTS (memmove HAVE_MEMMOVE)
CHECK_FUNCTION_EXISTS (mkstemp HAVE_MKSTEMP)