Add helper functions for mallctl
authorQinfan Wu <wqfish@fb.com>
Sun, 24 Jul 2016 04:34:49 +0000 (21:34 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Sun, 24 Jul 2016 04:38:42 +0000 (21:38 -0700)
commite25cc6ea7721acfef12fbf4547bd28ce5b63b511
tree7d25d00a71ffd5f25175eb18c0a86b2b5fee4df9
parent4fde70969e903ab0d8419e4371a23bb3fed48e89
Add helper functions for mallctl

Summary: As more code is using mallctl, it's worth making these helper functions available everywhere.

Reviewed By: yfeldblum

Differential Revision: D3576190

fbshipit-source-id: 968e80e00f2ed93542e117c24861c21745b63f20
folly/Makefile.am
folly/MallctlHelper.cpp [new file with mode: 0644]
folly/MallctlHelper.h [new file with mode: 0644]
folly/detail/MemoryIdler.cpp
folly/test/Makefile.am
folly/test/MallctlHelperTest.cpp [new file with mode: 0644]