aboutsummaryrefslogtreecommitdiffstats
path: root/TODO-RELEASE
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-05-31 13:10:24 +0200
committerlaforge <laforge@osmocom.org>2021-06-05 15:46:27 +0000
commit09f075fad6efd1fdb7b849ede1521e9dcddcebc6 (patch)
tree748b4834f71ae9bd63c2329a9ee119914c4f106f /TODO-RELEASE
parentd7948067195799c49ae1c1895b97f211eddd22ef (diff)
stat,rate_ctr: Allow setting group name and use it at report time
This patch adds a new field "name" to the rate_ctr and osmo_stat_item_group structs, together with an API to set it. This new field allows for easy identification of specific group instances when several of them exists, rather than using a sometimes random/increasing index value. If set, this name (string) is used instead of the index by the stats reporter. The name, if set, is also printed during "show stats" VTY commands. It's up to the user or application to set up unique or meaningful names to fullfill one's needs. WARNING: this commit breaks ABI and possibly creates unexpected behavior when run with non-rebuilt apps which use the modified structs directly to get the coutners, or if use the static inline API rate_ctr_inc2(). Existing users of these structs should migrate to use new APIs introduced in follow-up commits instead of accessing the field directly. Related: SYS#5456 Change-Id: I0dc510783dd9ae8436dae8005a7b3330e80d36f3
Diffstat (limited to 'TODO-RELEASE')
-rw-r--r--TODO-RELEASE1
1 files changed, 1 insertions, 0 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index ad644aaf..0f70081b 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -13,3 +13,4 @@ libosmosim osim_card_hdl ABI + API breakage due to new struct members
libosmocore osmo_tdef_fsm_inst_state_chg change default_timeout arg from unsigned long to long type (API breakage, not ABI)
libosmovty vty_read_config_filep New API
libosmosim osim_card_{reset,close} New API
+libosmocore struct rate_ctr_group, osmo_stat_item_group_desc ABI breakage due to new struct members