FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
stat_segment.c File Reference
+ Include dependency graph for stat_segment.c:

Go to the source code of this file.

Data Structures

struct  show_stat_segment_t
 

Functions

void vlib_stat_segment_lock (void)
 
void vlib_stat_segment_unlock (void)
 
void * vlib_stats_push_heap (void)
 
void vlib_stats_pop_heap (void *cm_arg, void *oldheap)
 
void vlib_stats_register_error_index (u8 *name, u64 index)
 
void vlib_stats_pop_heap2 (u64 *counter_vector, u32 thread_index, void *oldheap)
 
clib_error_tvlib_map_stat_segment_init (void)
 
static int name_sort_cmp (void *a1, void *a2)
 
static u8format_stat_dir_entry (u8 *s, va_list *args)
 
static clib_error_tshow_stat_segment_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static void update_serialized_nodes (stats_main_t *sm)
 
void do_stat_segment_updates (stats_main_t *sm)
 
static clib_error_tstatseg_config (vlib_main_t *vm, unformat_input_t *input)
 

Variables

static vlib_cli_command_t show_stat_segment_command
 (constructor) VLIB_CLI_COMMAND (show_stat_segment_command) More...
 

Function Documentation

void do_stat_segment_updates ( stats_main_t sm)

Definition at line 476 of file stat_segment.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* format_stat_dir_entry ( u8 s,
va_list *  args 
)
static

Definition at line 293 of file stat_segment.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int name_sort_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 284 of file stat_segment.c.

+ Here is the caller graph for this function:

static clib_error_t* show_stat_segment_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 334 of file stat_segment.c.

+ Here is the call graph for this function:

static clib_error_t* statseg_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 518 of file stat_segment.c.

+ Here is the call graph for this function:

static void update_serialized_nodes ( stats_main_t sm)
inlinestatic

Definition at line 402 of file stat_segment.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vlib_map_stat_segment_init ( void  )

Definition at line 190 of file stat_segment.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_stat_segment_lock ( void  )

Definition at line 18 of file stat_segment.c.

+ Here is the call graph for this function:

void vlib_stat_segment_unlock ( void  )

Definition at line 25 of file stat_segment.c.

+ Here is the call graph for this function:

void vlib_stats_pop_heap ( void *  cm_arg,
void *  oldheap 
)

Definition at line 46 of file stat_segment.c.

+ Here is the call graph for this function:

void vlib_stats_pop_heap2 ( u64 counter_vector,
u32  thread_index,
void *  oldheap 
)

Definition at line 143 of file stat_segment.c.

+ Here is the call graph for this function:

void* vlib_stats_push_heap ( void  )

Definition at line 32 of file stat_segment.c.

+ Here is the call graph for this function:

void vlib_stats_register_error_index ( u8 name,
u64  index 
)

Definition at line 100 of file stat_segment.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t show_stat_segment_command
static
Initial value:
=
{
.path = "show statistics segment",
.short_help = "show statistics segment [verbose]",
}
static clib_error_t * show_stat_segment_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: stat_segment.c:334

(constructor) VLIB_CLI_COMMAND (show_stat_segment_command)

Definition at line 393 of file stat_segment.c.