Added JSON output for lock stats.

Also added option 'x' to malloc_stats() to bypass lock section.
This commit is contained in:
Qi Wang
2017-03-12 01:28:52 -08:00
committed by Qi Wang
parent ca9074deff
commit bd2006a41b
4 changed files with 124 additions and 44 deletions

View File

@@ -938,11 +938,16 @@ TEST_BEGIN(test_stats_print_json) {
"Ja",
"Jb",
"Jl",
"Jx",
"Jbl",
"Jal",
"Jab",
"Jabl",
"Jgmdabl",
"Jax",
"Jbx",
"Jlx",
"Jablx",
"Jgmdablx",
};
unsigned arena_ind, i;