laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/27324 )
Change subject: sccp_demo_user: Add 'show stats' to VTY ......................................................................
sccp_demo_user: Add 'show stats' to VTY
this allows us to inspect statistics of the demo user via VTY
Change-Id: Ica48d4e0c9cedb9adb94ae08c5201207b8836e1c --- M examples/sccp_demo_user.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/24/27324/1
diff --git a/examples/sccp_demo_user.c b/examples/sccp_demo_user.c index 82309ea..5f443e2 100644 --- a/examples/sccp_demo_user.c +++ b/examples/sccp_demo_user.c @@ -14,6 +14,7 @@ #include <osmocom/vty/vty.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/stats.h> #include <osmocom/vty/misc.h>
#include <osmocom/sigtran/osmo_ss7.h> @@ -260,6 +261,7 @@ vty_init(&vty_info); logging_vty_add_cmds(); osmo_talloc_vty_add_cmds(); + osmo_stats_vty_add_cmds(); osmo_fsm_vty_add_cmds(); osmo_ss7_vty_init_asp(NULL); osmo_sccp_vty_init();