pespin has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/76/30276/1
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 6d88fad..d7e18c7 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; }