diff options
author | Jason Evans <je@facebook.com> | 2010-04-06 19:20:23 (GMT) |
---|---|---|
committer | Jason Evans <je@facebook.com> | 2010-04-06 19:20:23 (GMT) |
commit | fd88bd577ef23b1580f19dd82b810a66ec2230cd (patch) | |
tree | 65b9b88c206cee9ba51c083344046f2fbac9e2f5 /jemalloc/src | |
parent | ec5344eba282b2bc2f854bdb174e3c97abff83c9 (diff) | |
download | jemalloc-fd88bd577ef23b1580f19dd82b810a66ec2230cd.zip jemalloc-fd88bd577ef23b1580f19dd82b810a66ec2230cd.tar.gz jemalloc-fd88bd577ef23b1580f19dd82b810a66ec2230cd.tar.bz2 |
Report E/e option state in jemalloc_stats_print().
Diffstat (limited to 'jemalloc/src')
-rw-r--r-- | jemalloc/src/stats.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jemalloc/src/stats.c b/jemalloc/src/stats.c index 60e75bc..0c3b8f2 100644 --- a/jemalloc/src/stats.c +++ b/jemalloc/src/stats.c @@ -448,8 +448,11 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, if ((err = JEMALLOC_P(mallctl)("opt.abort", &bv, &bsz, NULL, 0)) == 0) write_cb(cbopaque, bv ? "A" : "a"); + if ((err = JEMALLOC_P(mallctl)("prof.active", &bv, &bsz, + NULL, 0)) == 0) + write_cb(cbopaque, bv ? "E" : "e"); if ((err = JEMALLOC_P(mallctl)("opt.prof", &bv, &bsz, NULL, 0)) - == 0) + == 0) write_cb(cbopaque, bv ? "F" : "f"); if ((err = JEMALLOC_P(mallctl)("opt.tcache", &bv, &bsz, NULL, 0)) == 0) |