Change in libosmocore[master]: vty 'stats reset': do not reset stat_items

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
Fri Aug 20 20:11:46 UTC 2021


neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/25214 )

Change subject: vty 'stats reset': do not reset stat_items
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.osmocom.org/c/libosmocore/+/25214/1/src/vty/stats_vty.c 
File src/vty/stats_vty.c:

https://gerrit.osmocom.org/c/libosmocore/+/25214/1/src/vty/stats_vty.c@a589 
PS1, Line 589: static int reset_osmo_stat_item_group_handler(struct osmo_stat_item_group *statg, void *sctx_)
> this function can be removed too, as you remove its only caller
already gone


https://gerrit.osmocom.org/c/libosmocore/+/25214/1/src/vty/stats_vty.c@a591 
PS1, Line 591:         osmo_stat_item_group_reset(statg);
> log an error in the function if it is used? (or in osmo_stat_item_reset?)
whoever calls that function shall know what she's doing. maybe there's a weird use case for it that i can't think of atm



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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If2134768b1076e7af189276c45f2a09a4944303e
Gerrit-Change-Number: 25214
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: osmith <osmith at sysmocom.de>
Gerrit-Comment-Date: Fri, 20 Aug 2021 20:11:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210820/2be5482d/attachment.htm>


More information about the gerrit-log mailing list