summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-26 16:25:37 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-02 16:01:27 +0100
commit64630cccc763da7088c1d1ff251a89d4d352cd4b (patch)
tree6e4ea25f13e3ebd0d7a0fd9bb8a446e41aeb8c3c /openbsc/src/osmo-bsc
parent11cb27ece64944c17c2714cfe7ea9971a8c4ab7c (diff)
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
Diffstat (limited to 'openbsc/src/osmo-bsc')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 3ab1267..4bb2da1 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -36,6 +36,7 @@
#include <osmocom/core/application.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/talloc.h>
+#include <osmocom/core/stats.h>
#include <osmocom/gsm/protocol/gsm_12_21.h>
#include <osmocom/abis/abis.h>
@@ -192,6 +193,7 @@ int main(int argc, char **argv)
tall_bsc_ctx = talloc_named_const(NULL, 1, "openbsc");
osmo_init_logging(&log_info);
+ osmo_stats_init(tall_bsc_ctx);
bts_init();
libosmo_abis_init(tall_bsc_ctx);