Change in libosmo-sccp[master]: common: Support setting rt-prio and cpu-affinity mask through VTY

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 18 10:14:31 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/19681 )


Change subject: common: Support setting rt-prio and cpu-affinity mask through VTY
......................................................................

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

Change-Id: Ib9faa68c1cd09a026909c792a1fd5557c9893fe3
---
M TODO-RELEASE
M configure.ac
M debian/control
M doc/manuals/osmostp-usermanual.adoc
M stp/stp_main.c
5 files changed, 9 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/81/19681/1

diff --git a/TODO-RELEASE b/TODO-RELEASE
index d0852fc..b274427 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,3 +7,4 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what		description / commit summary line
+osmo-stp        update osmo-gsm-manuals dependency to > 0.3.0 for vty_cpu_sched.adoc include
diff --git a/configure.ac b/configure.ac
index 337a9dd..725014d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,9 +34,9 @@
 fi
 PKG_PROG_PKG_CONFIG([0.20])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.3.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
 PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.7.0)
 
 old_LIBS=$LIBS
diff --git a/debian/control b/debian/control
index fd23fbd..f8d25f6 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@
 Build-Depends: debhelper (>= 9),
                autotools-dev,
                pkg-config,
-               libosmocore-dev (>= 1.3.0),
+               libosmocore-dev (>= 1.4.0),
                autoconf,
                automake,
                libtool,
diff --git a/doc/manuals/osmostp-usermanual.adoc b/doc/manuals/osmostp-usermanual.adoc
index 9f41e5d..a34c2b1 100644
--- a/doc/manuals/osmostp-usermanual.adoc
+++ b/doc/manuals/osmostp-usermanual.adoc
@@ -18,6 +18,8 @@
 
 include::./common/chapters/logging.adoc[]
 
+include::./common/chapters/vty_cpu_sched.adoc[]
+
 //include::./common/chapters/bts.adoc[]
 
 //include::../OsmoNITB/chapters/bts-examples.adoc[]
@@ -31,4 +33,3 @@
 include::./common/chapters/glossary.adoc[]
 
 include::./common/chapters/gfdl.adoc[]
-
diff --git a/stp/stp_main.c b/stp/stp_main.c
index 19420c0..33305b3 100644
--- a/stp/stp_main.c
+++ b/stp/stp_main.c
@@ -40,6 +40,7 @@
 #include <osmocom/vty/telnet_interface.h>
 #include <osmocom/vty/logging.h>
 #include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
 
 #include <osmocom/sigtran/osmo_ss7.h>
 #include <osmocom/sigtran/sccp_sap.h>
@@ -186,6 +187,7 @@
 	osmo_stats_vty_add_cmds();
 	osmo_ss7_vty_init_sg(tall_stp_ctx);
 	osmo_sccp_vty_init();
+	osmo_cpu_sched_vty_init(tall_stp_ctx);
 	osmo_fsm_vty_add_cmds();
 	osmo_talloc_vty_add_cmds();
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/19681
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Ib9faa68c1cd09a026909c792a1fd5557c9893fe3
Gerrit-Change-Number: 19681
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200818/749a2537/attachment.htm>


More information about the gerrit-log mailing list