Support setting rt-prio and cpu-affinity mask through VTY
Change-Id: I92bfabd57fab28b23bd4494a577373106be1daec
Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a
Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c
Related: SYS#4986
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 3912204..c5ff3dc 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -43,6 +43,7 @@
#include <osmocom/vty/command.h>
#include <osmocom/vty/vty.h>
#include <osmocom/vty/ports.h>
+#include <osmocom/vty/cpu_sched_vty.h>
#include <osmocom/core/rate_ctr.h>
#include <osmocom/core/select.h>
#include <osmocom/core/application.h>
@@ -272,6 +273,7 @@
pcu_vty_info.tall_ctx = tall_pcu_ctx;
vty_init(&pcu_vty_info);
pcu_vty_init();
+ osmo_cpu_sched_vty_init(tall_pcu_ctx);
handle_options(argc, argv);
if ((!!spoof_mcc) + (!!spoof_mnc) == 1) {