libosmocore.git branch jerlbeck/wip/stats updated. 0.9.0-18-g23947ee

gitosis at gitosis at
Mon Nov 9 16:36:14 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, jerlbeck/wip/stats has been updated
  discards  cd7a5c069e96a747ef27536e250e582c97828863 (commit)
  discards  9872b4b70497773c2632931e55cc8830526b86b2 (commit)
  discards  c79eae2c6113cca531bf19350ea11f7a84caac16 (commit)
       via  23947ee21e5ba0e40d97776b3fc67f8aea59793a (commit)
       via  36b007182d84ed0e7b318860036697dd99262de9 (commit)
       via  b75510fda1fb7c65e65e4c7c28b2cd30abc3d035 (commit)
       via  01e8c91df517fbf27d769a07630ac8177cf0328d (commit)
       via  8a97cb911122f112a1a829f6f5d2be3922153a74 (commit)
       via  aed7c125fdfe743a78cb3fd8123af5257a900df9 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (cd7a5c069e96a747ef27536e250e582c97828863)
             N -- N -- N (23947ee21e5ba0e40d97776b3fc67f8aea59793a)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 23947ee21e5ba0e40d97776b3fc67f8aea59793a
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
    Sponsored-by: On-Waves ehf

commit 36b007182d84ed0e7b318860036697dd99262de9
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 b75510fda1fb7c65e65e4c7c28b2cd30abc3d035
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/stats.c                  | 268 ++++++++++++-------------------------------
 src/stats_statsd.c           | 158 +++++++++++++++++++++++++
 tests/stats/stats_test.c     | 252 +++++++++++++++++++++++++++++++++++++---
 tests/stats/stats_test.ok    |  88 ++++++++++++++
 6 files changed, 568 insertions(+), 216 deletions(-)
 create mode 100644 src/stats_statsd.c

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list