stats: Enable stats for sgsn, gbproxy, nitb, bsc, nat
This commit initialises and enables the stats subsystem for the given
binaries.
Sponsored-by: On-Waves ehf
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 7229a9b..8b074f1 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -32,6 +32,7 @@
#include <openbsc/db.h>
#include <osmocom/core/application.h>
#include <osmocom/core/select.h>
+#include <osmocom/core/stats.h>
#include <openbsc/debug.h>
#include <osmocom/abis/abis.h>
#include <osmocom/abis/e1_input.h>
@@ -258,6 +259,7 @@
libosmo_abis_init(tall_bsc_ctx);
osmo_init_logging(&log_info);
+ osmo_stats_init(tall_bsc_ctx);
bts_init();
/* This needs to precede handle_options() */