pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/32113 )
Change subject: layer23: Support cpu-sched vty node from libosmocore ......................................................................
layer23: Support cpu-sched vty node from libosmocore
Change-Id: I1affb401bf355360fe306568c9b5c005dbd0746c --- M src/host/layer23/src/common/vty.c 1 file changed, 14 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, approved
diff --git a/src/host/layer23/src/common/vty.c b/src/host/layer23/src/common/vty.c index fd63918..5985fb1 100644 --- a/src/host/layer23/src/common/vty.c +++ b/src/host/layer23/src/common/vty.c @@ -29,6 +29,10 @@ #include <osmocom/core/gsmtap.h> #include <osmocom/core/gsmtap_util.h> #include <osmocom/crypt/auth.h> +#include <osmocom/vty/cpu_sched_vty.h> +#include <osmocom/vty/telnet_interface.h> +#include <osmocom/vty/stats.h> +#include <osmocom/vty/misc.h>
#include <osmocom/bb/common/vty.h> #include <osmocom/bb/common/l23_app.h> @@ -43,9 +47,6 @@ #include <osmocom/bb/mobile/vty.h> #include <osmocom/bb/mobile/gsm480_ss.h> #include <osmocom/bb/mobile/gsm411_sms.h> -#include <osmocom/vty/telnet_interface.h> -#include <osmocom/vty/stats.h> -#include <osmocom/vty/misc.h>
bool l23_vty_reading = false;
@@ -575,6 +576,7 @@
/* Register the talloc context introspection command */ osmo_talloc_vty_add_cmds(); + osmo_cpu_sched_vty_init(l23_ctx); if (l23_vty_signal_cb) rc = osmo_signal_register_handler(SS_L23_VTY, l23_vty_signal_cb, NULL); return rc;