libosmocore.git branch master updated. 0.9.0-15-g01e8c91

gitosis at osmocom.org gitosis at osmocom.org
Mon Nov 9 15:23:23 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  01e8c91df517fbf27d769a07630ac8177cf0328d (commit)
       via  8a97cb911122f112a1a829f6f5d2be3922153a74 (commit)
       via  aed7c125fdfe743a78cb3fd8123af5257a900df9 (commit)
      from  916423ef9585c7042730fdb17f55afc376565d32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=01e8c91df517fbf27d769a07630ac8177cf0328d

commit 01e8c91df517fbf27d769a07630ac8177cf0328d
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Nov 9 14:13:23 2015 +0100

    stats: Fix not reported stat item values
    
    Currently the global stat item index is being advanced in
    osmo_stat_item_group_handler, so that the second and further groups
    in the list will skip new item values.
    
    This commit moves the call to osmo_stat_item_discard_all into
    osmo_stats_report to a place where all groups have been processed
    already.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=8a97cb911122f112a1a829f6f5d2be3922153a74

commit 8a97cb911122f112a1a829f6f5d2be3922153a74
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Nov 9 11:39:42 2015 +0100

    stats: Fix handling of multiple resporters
    
    Currently the reporter loop is aborted, if the event would be ignored
    due to an insufficient max_level. Thus the reporters that happen to
    be stored afterwards would be skipped even if their level were
    sufficient.
    
    This commit replaces the conditional 'return' statement by a
    considtional 'continue' statement to ensure the processing of the
    list tail.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/libosmocore/commit/?id=aed7c125fdfe743a78cb3fd8123af5257a900df9

commit aed7c125fdfe743a78cb3fd8123af5257a900df9
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Nov 9 11:25:12 2015 +0100

    stats: Send all values on reporter update
    
    Currently only counter changes and new item values are being
    reported. This makes it cumbersome to configure reporting clients,
    since there is nothing like a list of all parameters.
    
    This commit changes this behaviour such that all currently existing
    counters and items that would be reported eventually, are passed to
    the reporter when it has been reconfigured or enabled. If a counter
    has not been incremented, 0 is sent. If a stat item value has not
    been added, the last item value (or the default value if there is
    none) is resent again.
    
    Note that this will not catch transient counters/items that will be
    created later on, e.g. triggered by new peers or subscribers.
    
    To just force this kind of dump on a running reporter, it is
    sufficient to invoke the 'enable' command in its configuration node.
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 include/osmocom/core/stats.h |  1 +
 src/stats.c                  | 41 ++++++++++++++++++++++++++++++-----------
 2 files changed, 31 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list