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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcap/+/23777 ) Change subject: vty: register commands for talloc context introspection ...................................................................... vty: register commands for talloc context introspection Change-Id: I3774cfd483102993340bd6e96f8512af61085679 --- M src/osmo_client_main.c M src/osmo_server_main.c 2 files changed, 6 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c index 4ef46cc..cbaefef 100644 --- a/src/osmo_client_main.c +++ b/src/osmo_client_main.c @@ -33,6 +33,7 @@ #include <osmocom/vty/logging.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/stats.h> +#include <osmocom/vty/misc.h> #include <pcap.h> #include <signal.h> @@ -228,9 +229,11 @@ osmo_init_logging2(tall_cli_ctx, &log_info); vty_info.copyright = osmopcap_copyright; + vty_info.tall_ctx = tall_cli_ctx; vty_init(&vty_info); logging_vty_add_cmds(); osmo_stats_vty_add_cmds(); + osmo_talloc_vty_add_cmds(); vty_client_init(tall_cli_ctx); /* parse options */ diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c index 9fa00e1..f8850db 100644 --- a/src/osmo_server_main.c +++ b/src/osmo_server_main.c @@ -34,6 +34,7 @@ #include <osmocom/vty/logging.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/stats.h> +#include <osmocom/vty/misc.h> #include <pcap.h> #include <signal.h> @@ -241,9 +242,11 @@ osmo_init_logging2(tall_srv_ctx, &log_info); vty_info.copyright = osmopcap_copyright; + vty_info.tall_ctx = tall_srv_ctx; vty_init(&vty_info); logging_vty_add_cmds(); osmo_stats_vty_add_cmds(); + osmo_talloc_vty_add_cmds(); vty_server_init(tall_srv_ctx); /* parse options */ -- To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/23777 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-pcap Gerrit-Branch: master Gerrit-Change-Id: I3774cfd483102993340bd6e96f8512af61085679 Gerrit-Change-Number: 23777 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210418/4e51ae4f/attachment.htm>