aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-08-18 13:36:01 +0200
committerlaforge <laforge@osmocom.org>2020-08-20 08:44:20 +0000
commit24a885608d5ffe5861b6a467d48f2e0ebd3f23a7 (patch)
tree716ef114e47a259e9150b3f48157f0899428fb54 /src
parentd54e07f8bd83b4a4ddc2f90d91e77a98133431bf (diff)
Support setting rt-prio and cpu-affinity mask through VTY
Change-Id: I40cf8a86961c1e350b5cd74d6e2cf64a22b7a2b1 Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c Related: SYS#4986
Diffstat (limited to 'src')
-rw-r--r--src/osmo-msc/msc_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index f2ccff551..98d29c3cc 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -53,6 +53,7 @@
#include <osmocom/vty/ports.h>
#include <osmocom/vty/logging.h>
#include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
#include <osmocom/msc/vty.h>
#include <osmocom/msc/mncc.h>
#include <osmocom/msc/rrlp.h>
@@ -549,6 +550,7 @@ int main(int argc, char **argv)
ctrl_vty_init(tall_msc_ctx);
logging_vty_add_cmds();
osmo_talloc_vty_add_cmds();
+ osmo_cpu_sched_vty_init(tall_msc_ctx);
/* Allocate global gsm_network struct.
* At first set the internal MNCC as default, may be changed below according to cfg or cmdline option. */