This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/6418 osmo-bts: Add talloc context introspection via VTY This requires libosmocore with Change-Id I43fc42880b22294d83c565ae600ac65e4f38b30d or later. Change-Id: Ieed87b8109e0095a3d99c30f0b042aa3ee4b6384 --- M src/common/main.c M src/common/vty.c 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/18/6418/1 diff --git a/src/common/main.c b/src/common/main.c index 2804ca6..b7d5653 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -235,6 +235,7 @@ tall_bts_ctx = talloc_named_const(NULL, 1, "OsmoBTS context"); msgb_talloc_ctx_init(tall_bts_ctx, 100*1024); + bts_vty_info.tall_ctx = tall_bts_ctx; bts_log_init(NULL); vty_init(&bts_vty_info); diff --git a/src/common/vty.c b/src/common/vty.c index 06330b4..5abc90e 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -1502,6 +1502,7 @@ install_element_ve(&show_lchan_summary_cmd); logging_vty_add_cmds(cat); + osmo_talloc_vty_add_cmds(); install_node(&bts_node, config_write_bts); install_element(CONFIG_NODE, &cfg_bts_cmd); -- To view, visit https://gerrit.osmocom.org/6418 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ieed87b8109e0095a3d99c30f0b042aa3ee4b6384 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>