Safety checks: Expose config value via mallctl and stats.

This commit is contained in:
David Goldblatt 2019-03-22 17:13:45 -07:00 committed by David Goldblatt
parent f4d24f05e1
commit f95a88fcd9
2 changed files with 4 additions and 0 deletions

View file

@ -976,6 +976,7 @@ stats_general_print(emitter_t *emitter) {
emitter_kv(emitter, "malloc_conf", "config.malloc_conf",
emitter_type_string, &config_malloc_conf);
CONFIG_WRITE_BOOL(opt_safety_checks);
CONFIG_WRITE_BOOL(prof);
CONFIG_WRITE_BOOL(prof_libgcc);
CONFIG_WRITE_BOOL(prof_libunwind);