libosmocore/src/vty
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
..
Makefile.am stats/vty: Add stats_vty.c 2015-10-29 00:09:04 +01:00
buffer.c remove references to u_long type, use 'unsigned long' instead 2014-11-14 15:22:22 +01:00
command.c vty: Change API to have node installation be done by int 2015-08-05 04:22:56 +00:00
logging_vty.c vty: Fix writing the logging of category 2015-03-20 15:31:30 +01:00
stats_vty.c stats: Limit reporting by class id 2015-11-02 15:39:31 +01:00
telnet_interface.c write_queue: Use EBADF instead of EBABDFD for portability 2014-07-01 19:42:49 +02:00
utils.c stats: Add osmo_ name prefix to identifiers 2015-11-02 15:39:01 +01:00
vector.c vty/vector.c: Use string.h, not memory.h 2014-11-14 15:22:37 +01:00
vty.c remove references to u_long type, use 'unsigned long' instead 2014-11-14 15:22:22 +01:00