summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-03-12 09:28:52 (GMT)
committerQi Wang <interwq@gmail.com>2017-03-23 07:03:28 (GMT)
commitbd2006a41bc6b7e1ef60994db88b955eb3ab6cbd (patch)
tree305ceac085c4d836999242d827ed44b287b3a85d /test
parentca9074deffe799dafa74a1d71333a103c4c007ce (diff)
downloadjemalloc-bd2006a41bc6b7e1ef60994db88b955eb3ab6cbd.zip
jemalloc-bd2006a41bc6b7e1ef60994db88b955eb3ab6cbd.tar.gz
jemalloc-bd2006a41bc6b7e1ef60994db88b955eb3ab6cbd.tar.bz2
Added JSON output for lock stats.
Also added option 'x' to malloc_stats() to bypass lock section.
Diffstat (limited to 'test')
-rw-r--r--test/unit/stats_print.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/stats_print.c b/test/unit/stats_print.c
index f043789..81778b0 100644
--- a/test/unit/stats_print.c
+++ b/test/unit/stats_print.c
@@ -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;