Support setting rt-prio and cpu-affinity mask through VTY
Related: SYS#4986
Change-Id: Id08f858b7f1bc79cc2958af4ffac3e11d644f210
diff --git a/doc/manuals/osmogbproxy-usermanual.adoc b/doc/manuals/osmogbproxy-usermanual.adoc
index f4da954..bf2404d 100644
--- a/doc/manuals/osmogbproxy-usermanual.adoc
+++ b/doc/manuals/osmogbproxy-usermanual.adoc
@@ -27,6 +27,8 @@
include::{srcdir}/chapters/counters_generated.adoc[]
+include::./common/chapters/vty_cpu_sched.adoc[]
+
include::./common/chapters/port_numbers.adoc[]
include::./common/chapters/bibliography.adoc[]
diff --git a/src/gb_proxy_main.c b/src/gb_proxy_main.c
index 6bd8bd8..b9ff2f1 100644
--- a/src/gb_proxy_main.c
+++ b/src/gb_proxy_main.c
@@ -55,6 +55,7 @@
#include <osmocom/vty/stats.h>
#include <osmocom/vty/ports.h>
#include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
#include "../bscconfig.h"
@@ -284,6 +285,7 @@
osmo_talloc_vty_add_cmds();
osmo_stats_vty_add_cmds();
osmo_fsm_vty_add_cmds();
+ osmo_cpu_sched_vty_init(tall_sgsn_ctx);
gbproxy_vty_init();
handle_options(argc, argv);