MINOR: contrib/prometheus-exporter: use fill_info for process dump
use `stats_fill_info` when possible to avoid duplicating code.
Signed-off-by: William Dauchy <wdauchy@gmail.com>
diff --git a/src/stats.c b/src/stats.c
index 36e5c07..4ddcd7e 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -254,7 +254,7 @@
};
/* one line of info */
-static THREAD_LOCAL struct field info[INF_TOTAL_FIELDS];
+THREAD_LOCAL struct field info[INF_TOTAL_FIELDS];
/* description of statistics (static and dynamic) */
static struct name_desc *stat_f[STATS_DOMAIN_COUNT];