From 3db47c4e519051292723704d71fbd57205ec4563 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 14 Feb 2018 00:40:05 +0100 Subject: osmo-msc: Add talloc context introspection via VTY This requires libosmocore with Change-Id I43fc42880b22294d83c565ae600ac65e4f38b30d or later. Change-Id: I575500bd911f9792ab5ca76eebb1d2682ee34fa3 --- src/osmo-msc/msc_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c index b0b78be31..da2808317 100644 --- a/src/osmo-msc/msc_main.c +++ b/src/osmo-msc/msc_main.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include @@ -366,6 +367,7 @@ int main(int argc, char **argv) tall_msc_ctx = talloc_named_const(NULL, 1, "osmo_msc"); talloc_ctx_init(tall_msc_ctx); + msc_vty_info.tall_ctx = tall_msc_ctx; osmo_init_logging(&log_info); osmo_stats_init(tall_msc_ctx); @@ -394,6 +396,7 @@ int main(int argc, char **argv) ctrl_vty_init(tall_msc_ctx); logging_vty_add_cmds(&log_info); + osmo_talloc_vty_add_cmds(); msc_vty_init(msc_network); bsc_vty_init_extra(); -- cgit v1.2.3