Change in osmo-bsc[master]: dbg log: also log assignment counters on BTS level

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

neels gerrit-no-reply at lists.osmocom.org
Mon Nov 29 15:46:52 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/26420 )


Change subject: dbg log: also log assignment counters on BTS level
......................................................................

dbg log: also log assignment counters on BTS level

Change-Id: I68b3e794ddf97c80f647c3536ec466217b338af9
---
M src/osmo-bsc/assignment_fsm.c
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/20/26420/1

diff --git a/src/osmo-bsc/assignment_fsm.c b/src/osmo-bsc/assignment_fsm.c
index 656bd3e..a3ec55b 100644
--- a/src/osmo-bsc/assignment_fsm.c
+++ b/src/osmo-bsc/assignment_fsm.c
@@ -88,11 +88,19 @@
 			switch (gsm48_chan_mode_to_non_vamos(conn->assignment.req.ch_mode_rate_list[0].chan_mode)) { \
 			case GSM48_CMODE_SIGN: \
 				rate_ctr_inc(rate_ctr_group_get_ctr(bts->bts_ctrs, BTS_##counter##_SIGN)); \
+				LOG_ASSIGNMENT(conn, LOGL_DEBUG, "incrementing rate counter: bts%u %s %s\n", \
+					       bts->nr, \
+					       bts_ctr_description[BTS_##counter##_SIGN].name, \
+					       bts_ctr_description[BTS_##counter##_SIGN].description); \
 				break; \
 			case GSM48_CMODE_SPEECH_V1: \
 			case GSM48_CMODE_SPEECH_EFR: \
 			case GSM48_CMODE_SPEECH_AMR: \
 				rate_ctr_inc(rate_ctr_group_get_ctr(bts->bts_ctrs, BTS_##counter##_SPEECH)); \
+				LOG_ASSIGNMENT(conn, LOGL_DEBUG, "incrementing rate counter: bts%u %s %s\n", \
+					       bts->nr, \
+					       bts_ctr_description[BTS_##counter##_SPEECH].name, \
+					       bts_ctr_description[BTS_##counter##_SPEECH].description); \
 				break; \
 			default: \
 				break; \

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I68b3e794ddf97c80f647c3536ec466217b338af9
Gerrit-Change-Number: 26420
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211129/b7e94696/attachment.htm>


More information about the gerrit-log mailing list