diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2019-03-29 12:44:50 +0100 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-04-04 23:39:25 +0000 |
commit | 15afc4fb18f937bf4f7008b161a29256cd8660ea (patch) | |
tree | e42de211e5f0e67246af0099adf1cb6195b2cf6c /source3/wscript | |
parent | b4d4778dd2c5831204fb484a6c6872ab3cbebf01 (diff) | |
download | samba-15afc4fb18f937bf4f7008b161a29256cd8660ea.tar.gz |
s3-messages: add mallinfo() information to pool-usage report
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Apr 4 23:39:25 UTC 2019 on sn-devel-144
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index c93b6056f29..97b51bb1a3e 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1517,6 +1517,18 @@ main() { define='HAVE_UNSHARE_CLONE_FS', msg='for Linux unshare(CLONE_FS)') + # Check for mallinfo + conf.CHECK_CODE(''' + struct mallinfo mi; + int tmp; + + mi = mallinfo(); + tmp = mi.arena + mi.ordblks + mi.smblks + mi.hblks + + mi.hblkhd + mi.usmblks + mi.fsmblks + mi.uordblks + + mi.fordblks + mi.keepcost; + return tmp; + ''', 'HAVE_MALLINFO', msg="Checking for mallinfo()", headers='malloc.h') + # # cluster support (CTDB) # |