summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/vty_interface.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-10-29 17:53:17 +0700
committerHarald Welte <laforge@gnumonks.org>2017-10-29 17:46:10 +0000
commit8a617cd160dd8649815b6d2e3a533341a12b872b (patch)
tree74fd3db98628af21465467bff267a24a6fa22f9e /src/host/layer23/src/mobile/vty_interface.c
parent363d4d22da0e2bb03645affa32fe7443d8f8befc (diff)
mobile: register the talloc context introspection command
This change registers the command, which is now implemented in libosmocore since the 463deef8c209dd7eb023ac70bf41fa9893ad35ed and allows to introspect mobile application's talloc context directly from the VTY interface. Change-Id: I979d64ae63d385f4fd082a4e3f981cbf5ab28338
Diffstat (limited to 'src/host/layer23/src/mobile/vty_interface.c')
-rw-r--r--src/host/layer23/src/mobile/vty_interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c
index 0f321baf..2ad95d0a 100644
--- a/src/host/layer23/src/mobile/vty_interface.c
+++ b/src/host/layer23/src/mobile/vty_interface.c
@@ -2951,6 +2951,9 @@ int ms_vty_init(void)
install_element(MS_NODE, &cfg_ms_shutdown_force_cmd);
install_element(MS_NODE, &cfg_ms_no_shutdown_cmd);
+ /* Register the talloc context introspection command */
+ osmo_talloc_vty_add_cmds();
+
return 0;
}