From: Vsevolod Stakhov Date: Mon, 3 Aug 2015 14:49:15 +0000 (+0100) Subject: Add extra information about mmaped statistics. X-Git-Tag: 1.0.0~239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2595f57384e62ea3e5b4fd90cc25d816ec435ce8;p=thirdparty%2Frspamd.git Add extra information about mmaped statistics. --- diff --git a/src/libstat/backends/mmaped_file.c b/src/libstat/backends/mmaped_file.c index 341a6140b3..e0cb528e55 100644 --- a/src/libstat/backends/mmaped_file.c +++ b/src/libstat/backends/mmaped_file.c @@ -1116,6 +1116,12 @@ rspamd_mmaped_file_get_stat (gpointer runtime, rspamd_mmaped_file_get_used (mf)), "used", 0, false); ucl_object_insert_key (res, ucl_object_fromstring (mf->cf->symbol), "symbol", 0, false); + ucl_object_insert_key (res, ucl_object_fromstring ("mmap"), + "type", 0, false); + ucl_object_insert_key (res, ucl_object_fromint (0), + "languages", 0, false); + ucl_object_insert_key (res, ucl_object_fromint (0), + "users", 0, false); if (mf->cf->label) { ucl_object_insert_key (res, ucl_object_fromstring (mf->cf->label),