libosmocore/src
Jacob Erlbeck bc9d9aced8 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
2015-11-02 15:39:31 +01:00
..
codec build: remove unused all_includes and use AM_CPPFLAGS 2014-10-03 08:48:31 +02:00
ctrl ctrl: Avoid accessing cmd_desc->command out of bounds 2015-04-05 14:40:10 +02:00
gb stats: Limit reporting by class id 2015-11-02 15:39:31 +01:00
gsm build: have a disable-static build succeed 2015-09-16 18:08:48 +02:00
sim build: Fix out-of-tree builds 2015-05-17 19:19:09 +02:00
vty stats: Limit reporting by class id 2015-11-02 15:39:31 +01:00
Makefile.am stats: Add the reporting framework 2015-10-29 01:10:03 +01:00
application.c fix libosmocore build for NuttX target 2014-12-04 14:15:36 +01:00
backtrace.c backtrace: don't use fprintf, but printf (for osmocom-bb) 2012-09-08 22:00:13 +02:00
bits.c add missing copyright statements to source code files 2014-09-11 13:18:08 +08:00
bitvec.c misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
conv.c misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
crc16.c crc: use namespace prefix osmo_* 2011-05-07 13:00:51 +02:00
crcXXgen.c.tpl misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
gsmtap_util.c misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
logging.c logging: Implement subsecond resolution of extended timestamps 2015-03-18 21:54:37 +01:00
logging_syslog.c doc: Fix the Doxygen section endings 2012-04-18 21:53:23 +02:00
loggingrb.c sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ 2014-10-26 20:52:25 +01:00
macaddr.c macaddr: Use the BSD code for Darwin as well 2015-04-11 19:29:52 +02:00
msgb.c msgb: Add msgb_hexdump() function 2014-03-04 13:30:12 +01:00
msgfile.c msgfile: Fix warning on BSDs stdio 2015-03-18 21:54:37 +01:00
panic.c add some missing doxygen annotation for libosmocore functions 2013-01-11 09:43:32 +01:00
plugin.c add some missing doxygen annotation for libosmocore functions 2013-01-11 09:43:32 +01:00
rate_ctr.c core: Extend rate_ctr by helper functions 2015-10-28 23:51:24 +01:00
rbtree.c core/rbtree: remove redundant if()-condition in rb_erase() 2011-11-12 23:23:35 +01:00
select.c select.c: Add missing #include lines for string.h and sys/select.h 2014-11-14 15:21:01 +01:00
serial.c misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
signal.c doc: Fix the Doxygen section endings 2012-04-18 21:53:23 +02:00
socket.c Move common socket routine into separate function 2014-10-13 21:29:42 +02:00
stat_item.c stats: Add osmo_ name prefix to identifiers 2015-11-02 15:39:01 +01:00
statistics.c core: Add difference function to osmo_counter 2015-10-29 01:10:06 +01:00
stats.c stats: Limit reporting by class id 2015-11-02 15:39:31 +01:00
strrb.c strrb.c: Use string.h, not strings.h 2014-11-14 15:21:18 +01:00
talloc.c misc: Remove the sys/types.h include from various files 2011-04-18 16:57:04 +02:00
timer.c timer: Use the now parameter when it is not NULL 2014-05-23 08:37:02 +02:00
utils.c utils: add 'returns' doc to osmo_hexparse(). 2015-09-23 23:16:53 +02:00
write_queue.c write_queue: Use EBADF instead of EBABDFD for portability 2014-07-01 19:42:49 +02:00