Support setting rt-prio and cpu-affinity mask through VTY

Related: SYS#4986
Change-Id: Id08f858b7f1bc79cc2958af4ffac3e11d644f210
This commit is contained in:
Pau Espin 2021-03-03 16:05:10 +01:00
parent f89d4f899e
commit 52461cfef3
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ include::./common/chapters/control_if.adoc[]
include::{srcdir}/chapters/counters_generated.adoc[]
include::./common/chapters/vty_cpu_sched.adoc[]
include::./common/chapters/port_numbers.adoc[]
include::./common/chapters/bibliography.adoc[]

View File

@ -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 @@ int main(int argc, char **argv)
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);