MINOR: stats: add stats_dump_info_fields() to dump one field per line
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Jan 2016 17:27:29 +0000 (18:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Mar 2016 16:08:04 +0000 (17:08 +0100)
commitbf95cba0e4bc9e2c719da579535265291fdd6662
tree74b4b499d7a2218bd0f2043f782eb393a3e88c04
parent638d40a193caf5383f6b076c4f1ff421766daa21
MINOR: stats: add stats_dump_info_fields() to dump one field per line

This function dumps non-empty fields, one per line with their name and
values, in the same format as is currently used by "show info". It relies
on previously added stats_emit_raw_data_field().
src/dumpstats.c