libosmocore.git branch master updated. 0.9.0-27-gee702cd

gitosis at gitosis at
Thu Nov 26 12:59:53 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  ee702cd590688c1e65296319c5bc4c9cf160ba65 (commit)
       via  f13de868be052f96325c337f25453f1d97777005 (commit)
       via  46b703d083a57d7718340f8f71da29d96ce15170 (commit)
       via  2e8f9ed5560ac6286b1fe70ade868569d30cb392 (commit)
       via  b6e6bea4ecea4b0769fc56136321f01f553459ba (commit)
      from  5fa0dcc2750a79920d4a6404e960c50667840058 (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 -----------------------------------------------------------------

commit ee702cd590688c1e65296319c5bc4c9cf160ba65
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Nov 10 11:38:25 2015 +0100

    stats: Add TODO comment to rate_ctr
    Currently the counters are scanned twice, once for interval
    computation and once for reporting.
    This adds a reminder to move the interval computation code to a
    special stats reporter which just shall update the fields.
    Sponsored-by: On-Waves ehf

commit f13de868be052f96325c337f25453f1d97777005
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Nov 10 11:36:58 2015 +0100

    stats/test: Add memory leak check
    Adds a rudimentary leak check for the counters and stat items.
    Sponsored-by: On-Waves ehf

commit 46b703d083a57d7718340f8f71da29d96ce15170
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Nov 9 17:25:27 2015 +0100

    stats/test: Add test for reporting
    This tests uses a dedicated test reported to check several aspects of
    the value reporting.
      - addition/removal of stats reporter
      - addition/removal of counters/items
      - setting of max_class
      - initial value flush
      - updating single counters/items
      - reporter retrieval
      - enable/disable
    Sponsored-by: On-Waves ehf

commit 2e8f9ed5560ac6286b1fe70ade868569d30cb392
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Nov 9 15:48:25 2015 +0100

    stats: Reorder functions in stats.c
    Due to prior refactoring, the functions do not have an sensible order
    in the file. This commit tries to improve that a little bit.
    Sponsored-by: On-Waves ehf

commit b6e6bea4ecea4b0769fc56136321f01f553459ba
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Nov 9 15:33:44 2015 +0100

    stats: Move statsd related code into a separate file
    This commit moves the stats specific code parts into stats_statsd.c
    while keeping the generic parts in stats.c. The code in stats.c no
    longer contains references to statsd symbols.
    Note that the VTY code still needs to know about every stats reporter
    Sponsored-by: On-Waves ehf


Summary of changes:
 include/osmocom/core/stats.h |  16 ++-
 src/              |   2 +-
 src/rate_ctr.c               |   3 +
 src/stats.c                  | 256 ++++++++++----------------------------
 src/stats_statsd.c           | 158 ++++++++++++++++++++++++
 tests/stats/stats_test.c     | 283 ++++++++++++++++++++++++++++++++++++++++---
 tests/stats/stats_test.ok    | 108 +++++++++++++++++
 7 files changed, 612 insertions(+), 214 deletions(-)
 create mode 100644 src/stats_statsd.c

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list