pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bsc/+/30276 )
Change subject: paging: Rename stat t3113 -> paging:t3113
......................................................................
paging: Rename stat t3113 -> paging:t3113
This way all paging related stats can be grouped (more will be added in
follow-up commits).
Related: SYS#6200
Change-Id: Iede1b6f68df468c7a3b3bf5fce7f68bb08b78832
---
M include/osmocom/bsc/bts.h
M src/osmo-bsc/bts.c
M src/osmo-bsc/paging.c
3 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index cc4db5a..e191fc5 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -228,7 +228,7 @@
BTS_STAT_TS_BORKEN,
BTS_STAT_NUM_TRX_RSL_CONNECTED,
BTS_STAT_NUM_TRX_TOTAL,
- BTS_STAT_T3113,
+ BTS_STAT_PAGING_T3113,
};
extern const struct osmo_stat_item_desc bts_stat_desc[];
diff --git a/src/osmo-bsc/bts.c b/src/osmo-bsc/bts.c
index 95e3197..0bd5d4a 100644
--- a/src/osmo-bsc/bts.c
+++ b/src/osmo-bsc/bts.c
@@ -1042,7 +1042,7 @@
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg,
BTS_STAT_CHAN_SDCCH8_CBCH_TOTAL), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg,
BTS_STAT_CHAN_OSMO_DYN_USED), 0);
osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg,
BTS_STAT_CHAN_OSMO_DYN_TOTAL), 0);
- osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113),
0);
+ osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg,
BTS_STAT_PAGING_T3113), 0);
}
const struct rate_ctr_desc bts_ctr_description[] = {
@@ -1694,8 +1694,8 @@
{ "num_trx:total",
"Number of configured TRX in this BTS",
"" },
- [BTS_STAT_T3113] = \
- { "t3113",
+ [BTS_STAT_PAGING_T3113] = \
+ { "paging:t3113",
"T3113 paging timer",
"s", 60, 0 },
};
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 3909a7f..09b9ffc 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -388,7 +388,7 @@
"Paging request: T3113 expires in %u seconds (estimated %u)\n",
to, estimated_to);
ret:
- osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg, BTS_STAT_T3113),
to);
+ osmo_stat_item_set(osmo_stat_item_group_get_item(bts->bts_statg,
BTS_STAT_PAGING_T3113), to);
return to;
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bsc/+/30276
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iede1b6f68df468c7a3b3bf5fce7f68bb08b78832
Gerrit-Change-Number: 30276
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: merged