|
libosmovty
1.14.2.4-2a26b.202609021800
Osmocom VTY library
|
Enumerations | |
| enum | osmo_stats_class |
| enum | osmo_stats_reporter_type |
Variables | |
| OSMO_STATS_CLASS_UNKNOWN | |
| OSMO_STATS_CLASS_GLOBAL | |
| OSMO_STATS_CLASS_PEER | |
| OSMO_STATS_CLASS_SUBSCRIBER | |
| OSMO_STATS_REPORTER_LOG | |
| OSMO_STATS_REPORTER_STATSD | |
| struct llist_head | osmo_stats_reporter_list |
| struct osmo_stats_config * | osmo_stats_config |
| static void * | osmo_stats_ctx |
| static int | is_initialised |
| static struct osmo_stats_config | s_stats_config |
| struct osmo_stats_config * | osmo_stats_config |
| static struct osmo_fd | osmo_stats_timer |
| static struct osmo_tcp_stats_config | s_tcp_stats_config |
| struct osmo_tcp_stats_config * | osmo_tcp_stats_config |
|
static |
References osmo_stat_item_group_desc::class_id, osmo_stat_item_group::desc, osmo_stat_item_group_desc::group_description, osmo_stat_item_group::idx, vty_out_context::max_level, osmo_stat_item_group::name, osmo_stat_item_for_each_item(), osmo_stat_item_handler(), vty_out_context::prefix, vty_out_context::vty, VTY_NEWLINE, and vty_out().
Referenced by vty_out_statistics_partial2().
|
static |
References if(), osmo_stat_item_get_desc(), osmo_stat_item_get_last(), OSMO_STAT_ITEM_NO_UNIT, vty_out_context::prefix, vty_out_context::skip_zero, osmo_stat_item_desc::unit, vty_out_context::vty, VTY_NEWLINE, and vty_out().
Referenced by osmo_stat_item_group_handler(), and vty_out_stat_item_group2().
| void vty_out_stat_item_group | ( | struct vty * | vty, |
| const char * | prefix, | ||
| struct osmo_stat_item_group * | statg | ||
| ) |
References vty_out_context::prefix, and vty_out_stat_item_group2().
| void vty_out_stat_item_group2 | ( | struct vty * | vty, |
| const char * | prefix, | ||
| struct osmo_stat_item_group * | statg, | ||
| bool | skip_zero | ||
| ) |
print a stat item group to given VTY
| [in] | vty | The VTY to which it should be printed |
| [in] | prefix | Any additional log prefix ahead of each line |
| [in] | statg | Stat item group to be printed |
| [in] | skip_zero | Skip all zero-valued counters |
References osmo_stat_item_group::desc, osmo_stat_item_group_desc::group_description, osmo_stat_item_for_each_item(), osmo_stat_item_handler(), vty_out_context::prefix, vty_out_context::skip_zero, vty, VTY_NEWLINE, and vty_out().
Referenced by vty_out_stat_item_group().