From 8c5e5f50a29d6ca636bf7394d93be1814de6d74c Mon Sep 17 00:00:00 2001 From: Jordan Rome Date: Wed, 10 Feb 2021 11:08:18 -0500 Subject: [PATCH] Fix stats for "tcache_max" (was "lg_tcache_max") This opt was changed here: c8209150f9d219a137412b06431c9d52839c7272 and looks like this got missed. Also update the write type to be unsigned. --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats.c b/src/stats.c index 1a7e6e4e..20ff299c 100644 --- a/src/stats.c +++ b/src/stats.c @@ -1498,7 +1498,7 @@ stats_general_print(emitter_t *emitter) { OPT_WRITE_BOOL("utrace") OPT_WRITE_BOOL("xmalloc") 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_max") OPT_WRITE_UNSIGNED("tcache_nslots_large")