FD.io VPP  v16.06
Vector Packet Processing
gmon.c File Reference
+ Include dependency graph for gmon.c:

Go to the source code of this file.

Data Structures

struct  gmon_main_t
 

Functions

static u64 vnet_get_aggregate_rx_packets (void)
 
static u64 get_significant_errors (gmon_main_t *gm)
 
static clib_error_tpublish_pid (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (publish_pid)
 
static uword gmon_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
static clib_error_tgmon_init (vlib_main_t *vm)
 
static clib_error_tgmon_exit (vlib_main_t *vm)
 
static int significant_error_enable_disable (gmon_main_t *gm, u32 index, int enable)
 
static clib_error_tset_significant_error_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

gmon_main_t gmon_main
 
vlib_node_registration_t gmon_process_node
 (constructor) VLIB_REGISTER_NODE (gmon_process_node) More...
 
vlib_cli_command_t set_significant_error_command
 (constructor) VLIB_CLI_COMMAND (set_significant_error_command) More...
 

Function Documentation

static u64 get_significant_errors ( gmon_main_t gm)
static

Definition at line 72 of file gmon.c.

+ Here is the caller graph for this function:

static clib_error_t* gmon_exit ( vlib_main_t vm)
static

Definition at line 224 of file gmon.c.

+ Here is the call graph for this function:

static clib_error_t* gmon_init ( vlib_main_t vm)
static

Definition at line 162 of file gmon.c.

+ Here is the call graph for this function:

static uword gmon_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 108 of file gmon.c.

+ Here is the call graph for this function:

static clib_error_t* publish_pid ( vlib_main_t vm)
static

Definition at line 96 of file gmon.c.

+ Here is the call graph for this function:

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

Definition at line 255 of file gmon.c.

+ Here is the call graph for this function:

static int significant_error_enable_disable ( gmon_main_t gm,
u32  index,
int  enable 
)
static

Definition at line 241 of file gmon.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_API_INIT_FUNCTION ( publish_pid  )

+ Here is the caller graph for this function:

static u64 vnet_get_aggregate_rx_packets ( void  )
inlinestatic

Definition at line 62 of file gmon.c.

+ Here is the caller graph for this function:

Variable Documentation

gmon_main_t gmon_main

Definition at line 70 of file gmon.c.

vlib_node_registration_t gmon_process_node
Initial value:
= {
.function = gmon_process,
.name = "gmon-process",
}
static uword gmon_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: gmon.c:108

(constructor) VLIB_REGISTER_NODE (gmon_process_node)

Definition at line 155 of file gmon.c.

vlib_cli_command_t set_significant_error_command
Initial value:
= {
.path = "set significant error",
.short_help = "set significant error <counter-index-nnn>",
}
static clib_error_t * set_significant_error_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: gmon.c:255

(constructor) VLIB_CLI_COMMAND (set_significant_error_command)

Definition at line 289 of file gmon.c.