Go to the source code of this file.
|
void | vlib_stat_segment_lock (void) |
|
void | vlib_stat_segment_unlock (void) |
|
void * | vlib_stats_push_heap (void *old) |
|
static u32 | lookup_hash_index (u8 *name) |
|
static void | create_hash_index (u8 *name, u32 index) |
|
static u32 | vlib_stats_get_next_vector_index () |
|
static u32 | vlib_stats_create_counter (stat_segment_directory_entry_t *e, void *oldheap) |
|
static void | vlib_stats_delete_counter (u32 index, void *oldheap) |
|
void | vlib_stats_delete_cm (void *cm_arg) |
|
void | vlib_stats_pop_heap (void *cm_arg, void *oldheap, u32 cindex, stat_directory_type_t type) |
|
u8 * | format_vlib_stats_symlink (u8 *s, va_list *args) |
|
void | vlib_stats_register_symlink (void *oldheap, u8 *name, u32 index1, u32 index2, u8 lock) |
|
void | vlib_stats_rename_symlink (void *oldheap, u64 index, u8 *new_name) |
|
void | vlib_stats_register_error_index (void *oldheap, u8 *name, u64 *em_vec, u64 index) |
|
static void | stat_validate_counter_vector2 (stat_segment_directory_entry_t *ep, u32 max1, u32 max2) |
|
static void | stat_validate_counter_vector (stat_segment_directory_entry_t *ep, u32 max) |
|
void | vlib_stats_pop_heap2 (u64 *error_vector, u32 thread_index, void *oldheap, int lock) |
|
u32 | stat_segment_new_entry (u8 *name, stat_directory_type_t t) |
|
clib_error_t * | vlib_map_stat_segment_init (void) |
|
static int | name_sort_cmp (void *a1, void *a2) |
|
static u8 * | format_stat_dir_entry (u8 *s, va_list *args) |
|
static clib_error_t * | show_stat_segment_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | update_node_counters (stat_segment_main_t *sm) |
|
static void | do_stat_segment_updates (vlib_main_t *vm, stat_segment_main_t *sm) |
|
static clib_error_t * | stats_socket_accept_ready (clib_file_t *uf) |
|
static clib_error_t * | stats_segment_socket_init (void) |
|
static clib_error_t * | stats_segment_socket_exit (vlib_main_t *vm) |
|
f64 | vlib_get_stat_segment_update_rate (void) |
|
static uword | stat_segment_collector_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
void | stat_segment_poll_add (u32 vector_index, stat_segment_update_fn update_fn, u32 caller_index, u32 interval) |
|
clib_error_t * | stat_segment_register_gauge (u8 *name, stat_segment_update_fn update_fn, u32 caller_index) |
|
clib_error_t * | stat_segment_register_state_counter (u8 *name, u32 *index) |
|
clib_error_t * | stat_segment_deregister_state_counter (u32 index) |
|
void | stat_segment_set_state_counter (u32 index, u64 value) |
|
static clib_error_t * | statseg_config (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | statseg_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (statseg_sw_interface_add_del) |
|
static clib_error_t * | statseg_init (vlib_main_t *vm) |
|
◆ create_hash_index()
static void create_hash_index |
( |
u8 * |
name, |
|
|
u32 |
index |
|
) |
| |
|
static |
◆ do_stat_segment_updates()
◆ format_stat_dir_entry()
static u8* format_stat_dir_entry |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_vlib_stats_symlink()
u8* format_vlib_stats_symlink |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ lookup_hash_index()
static u32 lookup_hash_index |
( |
u8 * |
name | ) |
|
|
static |
◆ name_sort_cmp()
static int name_sort_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ show_stat_segment_command_fn()
◆ stat_segment_collector_process()
◆ stat_segment_deregister_state_counter()
◆ stat_segment_new_entry()
◆ stat_segment_poll_add()
◆ stat_segment_register_gauge()
◆ stat_segment_register_state_counter()
◆ stat_segment_set_state_counter()
void stat_segment_set_state_counter |
( |
u32 |
index, |
|
|
u64 |
value |
|
) |
| |
◆ stat_validate_counter_vector()
◆ stat_validate_counter_vector2()
◆ stats_segment_socket_exit()
◆ stats_segment_socket_init()
◆ stats_socket_accept_ready()
◆ statseg_config()
◆ statseg_init()
◆ statseg_sw_interface_add_del()
◆ update_node_counters()
◆ vlib_get_stat_segment_update_rate()
f64 vlib_get_stat_segment_update_rate |
( |
void |
| ) |
|
◆ vlib_map_stat_segment_init()
◆ vlib_stat_segment_lock()
void vlib_stat_segment_lock |
( |
void |
| ) |
|
◆ vlib_stat_segment_unlock()
void vlib_stat_segment_unlock |
( |
void |
| ) |
|
◆ vlib_stats_create_counter()
◆ vlib_stats_delete_cm()
void vlib_stats_delete_cm |
( |
void * |
cm_arg | ) |
|
◆ vlib_stats_delete_counter()
static void vlib_stats_delete_counter |
( |
u32 |
index, |
|
|
void * |
oldheap |
|
) |
| |
|
static |
◆ vlib_stats_get_next_vector_index()
static u32 vlib_stats_get_next_vector_index |
( |
| ) |
|
|
static |
◆ vlib_stats_pop_heap()
◆ vlib_stats_pop_heap2()
void vlib_stats_pop_heap2 |
( |
u64 * |
error_vector, |
|
|
u32 |
thread_index, |
|
|
void * |
oldheap, |
|
|
int |
lock |
|
) |
| |
◆ vlib_stats_push_heap()
void * vlib_stats_push_heap |
( |
void * |
old | ) |
|
◆ vlib_stats_register_error_index()
void vlib_stats_register_error_index |
( |
void * |
oldheap, |
|
|
u8 * |
name, |
|
|
u64 * |
em_vec, |
|
|
u64 |
index |
|
) |
| |
◆ vlib_stats_register_symlink()
void vlib_stats_register_symlink |
( |
void * |
oldheap, |
|
|
u8 * |
name, |
|
|
u32 |
index1, |
|
|
u32 |
index2, |
|
|
u8 |
lock |
|
) |
| |
◆ vlib_stats_rename_symlink()
void vlib_stats_rename_symlink |
( |
void * |
oldheap, |
|
|
u64 |
index, |
|
|
u8 * |
new_name |
|
) |
| |
◆ VNET_SW_INTERFACE_ADD_DEL_FUNCTION()
◆ show_stat_segment_command
Initial value:=
{
.path = "show statistics segment",
.short_help = "show statistics segment [verbose]",
}
(constructor) VLIB_CLI_COMMAND (show_stat_segment_command)
Definition at line 597 of file stat_segment.c.
◆ stat_segment_collector
Initial value:=
{
.name = "statseg-collector-process",
}
(constructor) VLIB_REGISTER_NODE (stat_segment_collector)
Definition at line 1086 of file stat_segment.c.
◆ stat_segment_main