Dump the block information in CSV format
authorPaul Bone <paul@bone.id.au>
Fri, 10 Jun 2016 08:11:47 +0000 (11:11 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 10 Jun 2016 08:28:27 +0000 (11:28 +0300)
commitd55c08ac9c0a71d51287e25982001104ae83b93d
tree5cdb6e75d2dbd5ad0713e59c07b58d01a10d6b73
parentde2af2af7f9dccb65e9c230c03404cc4013daaf1
Dump the block information in CSV format

This makes it easy to copy this information into a new file and
process it with tools that understand CSV, e.g. to create histograms
of block utilization.

* reclaim.c (GC_print_block_descr): add n_objs local variable;
separate printed values with a comma; print also size of block in
object units; refactor code for computing total_bytes field.
* reclaim.c (GC_print_block_list): Separate columns in printed table
header with a comma; append "#objs" column to the table.
reclaim.c