Fix stats for "tcache_max" (was "lg_tcache_max")

This opt was changed here: c8209150f9
and looks like this got missed.

Also update the write type to be unsigned.
This commit is contained in:
Jordan Rome 2021-02-10 11:08:18 -05:00 committed by Qi Wang
parent 041145c272
commit 8c5e5f50a2

View File

@ -1498,7 +1498,7 @@ stats_general_print(emitter_t *emitter) {
OPT_WRITE_BOOL("utrace") OPT_WRITE_BOOL("utrace")
OPT_WRITE_BOOL("xmalloc") OPT_WRITE_BOOL("xmalloc")
OPT_WRITE_BOOL("tcache") OPT_WRITE_BOOL("tcache")
OPT_WRITE_SSIZE_T("lg_tcache_max") OPT_WRITE_SIZE_T("tcache_max")
OPT_WRITE_UNSIGNED("tcache_nslots_small_min") OPT_WRITE_UNSIGNED("tcache_nslots_small_min")
OPT_WRITE_UNSIGNED("tcache_nslots_small_max") OPT_WRITE_UNSIGNED("tcache_nslots_small_max")
OPT_WRITE_UNSIGNED("tcache_nslots_large") OPT_WRITE_UNSIGNED("tcache_nslots_large")