Change in osmo-mgw[master]: rework the counters and stats so they work with the threaded mgw

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
Wed Nov 10 12:50:07 UTC 2021


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/26190 )

Change subject: rework the counters and stats so they work with the threaded mgw
......................................................................


Patch Set 5:

(4 comments)

https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/include/osmocom/mgcp/mgcp_conn.h 
File include/osmocom/mgcp/mgcp_conn.h:

https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/include/osmocom/mgcp/mgcp_conn.h@a134 
PS5, Line 134: /* RTP connection related counters */
So you are removing the counters from here but still using them immediatelly afterwards? how is that supposed to work? are they included from somewhere?


https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/include/osmocom/mgcp/mgcp_conn.h@27 
PS5, Line 27: #include <osmocom/mgcp/mgcp_network.h>
I don't see mgcp/mgcp_ratectr.h included here and that's where you moved the enum?


https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/include/osmocom/mgcp/mgcp_ratectr.h 
File include/osmocom/mgcp/mgcp_ratectr.h:

https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/include/osmocom/mgcp/mgcp_ratectr.h@15 
PS5, Line 15: };
yo should perhaps move the rate_ctr dscriptions here too?


https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/src/libosmo-mgcp/mgcp_endp.c 
File src/libosmo-mgcp/mgcp_endp.c:

https://gerrit.osmocom.org/c/osmo-mgw/+/26190/5/src/libosmo-mgcp/mgcp_endp.c@a129 
PS5, Line 129: 		osmo_stat_item_dec(osmo_stat_item_group_get_item(endp->trunk->stats.common,
so we lost these counters?



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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Iaab3fc262649cb5fb886f0297a60286bde1ffeb0
Gerrit-Change-Number: 26190
Gerrit-PatchSet: 5
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Wed, 10 Nov 2021 12:50:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211110/930eb274/attachment.htm>


More information about the gerrit-log mailing list