diff options
author | Jason Evans <jasone@canonware.com> | 2012-04-04 23:16:09 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2012-04-04 23:16:09 (GMT) |
commit | f3ca7c8386f6a21347aed68053117c2c59939551 (patch) | |
tree | 3abc59bc5d85b7163e657b29e642fbd4fe54f529 | |
parent | 382132eeacd9311a7a25d5b8f126d82ef453d60d (diff) | |
download | jemalloc-f3ca7c8386f6a21347aed68053117c2c59939551.zip jemalloc-f3ca7c8386f6a21347aed68053117c2c59939551.tar.gz jemalloc-f3ca7c8386f6a21347aed68053117c2c59939551.tar.bz2 |
Add missing "opt.lg_tcache_max" mallctl implementation.
-rw-r--r-- | src/ctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -66,6 +66,7 @@ CTL_PROTO(opt_junk) CTL_PROTO(opt_zero) CTL_PROTO(opt_xmalloc) CTL_PROTO(opt_tcache) +CTL_PROTO(opt_lg_tcache_max) CTL_PROTO(opt_prof) CTL_PROTO(opt_prof_prefix) CTL_PROTO(opt_prof_active) @@ -188,6 +189,7 @@ static const ctl_node_t opt_node[] = { {NAME("zero"), CTL(opt_zero)}, {NAME("xmalloc"), CTL(opt_xmalloc)}, {NAME("tcache"), CTL(opt_tcache)}, + {NAME("lg_tcache_max"), CTL(opt_lg_tcache_max)}, {NAME("prof"), CTL(opt_prof)}, {NAME("prof_prefix"), CTL(opt_prof_prefix)}, {NAME("prof_active"), CTL(opt_prof_active)}, @@ -1091,6 +1093,7 @@ CTL_RO_NL_CGEN(config_fill, opt_junk, opt_junk, bool) CTL_RO_NL_CGEN(config_fill, opt_zero, opt_zero, bool) CTL_RO_NL_CGEN(config_xmalloc, opt_xmalloc, opt_xmalloc, bool) CTL_RO_NL_CGEN(config_tcache, opt_tcache, opt_tcache, bool) +CTL_RO_NL_CGEN(config_tcache, opt_lg_tcache_max, opt_lg_tcache_max, ssize_t) CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool) CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *) CTL_RO_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) /* Mutable. */ |