[PATCH] osmo-pcu[master]: Adds rate_ctr_init in the startup of osmo-pcu

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/.

sivasankari gerrit-no-reply at lists.osmocom.org
Thu Dec 15 12:13:55 UTC 2016


Hello Max, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1428

to look at the new patch set (#2).

Adds rate_ctr_init in the startup of osmo-pcu

Issue:Though the rate_ctr framework is used in osmo-pcu for bts statistics,
      the interval counters are always 0.
Fix:rate_ctr_init is added in the startup which arms the timer and hence
    the rate ctr intervals is displayed with proper values.

Change-Id: Ib0f33d2de9406aa7436aa9aeb6a8dabdff96383b
---
M src/pcu_main.cpp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/28/1428/2

diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 4a75c79..0a0362b 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -221,6 +221,7 @@
 
 	osmo_init_logging(&gprs_log_info);
 	osmo_stats_init(tall_pcu_ctx);
+	rate_ctr_init(tall_pcu_ctx);
 	gprs_ns_set_log_ss(DNS);
 	bssgp_set_log_ss(DBSSGP);
 

-- 
To view, visit https://gerrit.osmocom.org/1428
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib0f33d2de9406aa7436aa9aeb6a8dabdff96383b
Gerrit-PatchSet: 2
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: sivasankari <Sivasankari.Theerthagiri at radisys.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list