libosmovty
UNKNOWN
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 | |
STATS_TCP_UNACKED | |
STATS_TCP_LOST | |
STATS_TCP_RETRANS | |
STATS_TCP_RTT | |
STATS_TCP_RCV_RTT | |
STATS_TCP_NOTSENT_BYTES | |
STATS_TCP_RWND_LIMITED | |
STATS_TCP_SNDBUF_LIMITED | |
STATS_TCP_REORD_SEEN | |
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 struct osmo_timer_list | stats_tcp_poll_timer |
static struct stats_tcp_entry * | stats_tcp_entry_cur |
pthread_mutex_t | stats_tcp_lock |
static struct osmo_stat_item_desc | stats_tcp_item_desc [] |
static struct osmo_stat_item_group_desc | stats_tcp_desc |
|
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_out_context::vty, VTY_NEWLINE, and vty_out().
Referenced by vty_out_stat_item_group().