Change in osmo-pcu[master]: pcu_main: Mark -r cmdline param as deprecated

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
Fri Nov 12 12:23:06 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/26215 )


Change subject: pcu_main: Mark -r cmdline param as deprecated
......................................................................

pcu_main: Mark -r cmdline param as deprecated

We have VTY support for it enabled in osmo-pcu since a while ago. Let's
mark it as depcreated now so that we can drop this cmdline arg in the
future.

Change-Id: Ic39c94984cb311aac0464d69f564af6d5447bd0f
---
M src/pcu_main.cpp
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/15/26215/1

diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 003cabb..38cf63b 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -165,6 +165,8 @@
 			break;
 		case 'r':
 			rt_prio = atoi(optarg);
+			fprintf(stderr, "Command line argument '-r' is deprecated, use VTY "
+				"cpu-sched node setting 'policy rr %d' instead.\n", rt_prio);
 			break;
 		case 'D':
 			daemonize = true;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/26215
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ic39c94984cb311aac0464d69f564af6d5447bd0f
Gerrit-Change-Number: 26215
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/20211112/34b9dd48/attachment.htm>


More information about the gerrit-log mailing list