libosmocore.git branch jerlbeck/wip/stats updated. 0.8.0-83-g77c6b96

gitosis at gitosis at
Mon Nov 2 14:21:19 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
       via  77c6b96b46ed023525db4653c7cf2e0c28c7111f (commit)
       via  84deca3ef51d15c3d3711f789d6f73c6b06cff59 (commit)
      from  7da71902fa2050a158e621f1ac30ec8ef772aa9d (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 77c6b96b46ed023525db4653c7cf2e0c28c7111f
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Nov 2 15:17:50 2015 +0100

    log: Add new DLSTATS log level
    This log level is used by the stats subsystem log reporter to report
    statistics to level INFO. Note that the default level of DLSTATS is
    Sponsored-by: On-Waves ehf

commit 84deca3ef51d15c3d3711f789d6f73c6b06cff59
Author: Jacob Erlbeck <jerlbeck at>
Date:   Mon Nov 2 14:49:35 2015 +0100

    stats: Limit reporting by class id
    This commit adds class_id fields to the rate_ctr and stat_item group
    descriptions. The stats reporter code is extended to only process
    groups whose class_id does not exceed a per reporter max_class level.
    If the class_id is not set, the code assumes 'global' for groups with
    idx == 0 and 'subscriber' otherwise.
    The following vty command is added to config-stats:
      level (global|peer|subscriber)  Set the maximum group level
    Sponsored-by: On-Waves ehf


Summary of changes:
 include/osmocom/core/logging.h   |  3 ++-
 include/osmocom/core/rate_ctr.h  |  2 ++
 include/osmocom/core/stat_item.h |  2 ++
 include/osmocom/core/stats.h     | 10 ++++++++++
 src/gb/gprs_bssgp.c              |  2 ++
 src/gb/gprs_ns.c                 |  2 ++
 src/logging.c                    |  5 +++++
 src/stats.c                      | 34 ++++++++++++++++++++++++++++++----
 src/vty/stats_vty.c              | 37 +++++++++++++++++++++++++++++++++++++
 9 files changed, 92 insertions(+), 5 deletions(-)

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list