FD.io VPP  v20.05.1-6-gf53edbc3b
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 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
 
static vlib_node_registration_t gmon_process_node
 (constructor) VLIB_REGISTER_NODE (gmon_process_node) More...
 
static vlib_cli_command_t set_significant_error_command
 (constructor) VLIB_CLI_COMMAND (set_significant_error_command) More...
 

Function Documentation

◆ get_significant_errors()

static u64 get_significant_errors ( gmon_main_t gm)
static

Definition at line 69 of file gmon.c.

+ Here is the caller graph for this function:

◆ gmon_exit()

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:

◆ gmon_init()

static clib_error_t* gmon_init ( vlib_main_t vm)
static

Definition at line 158 of file gmon.c.

+ Here is the call graph for this function:

◆ gmon_process()

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:

◆ publish_pid()

static clib_error_t* publish_pid ( vlib_main_t vm)
static

Definition at line 95 of file gmon.c.

+ Here is the call graph for this function:

◆ set_significant_error_command_fn()

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 257 of file gmon.c.

+ Here is the call graph for this function:

◆ significant_error_enable_disable()

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

Definition at line 243 of file gmon.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( publish_pid  )
+ Here is the caller graph for this function:

Variable Documentation

◆ gmon_main

gmon_main_t gmon_main

Definition at line 66 of file gmon.c.

◆ gmon_process_node

vlib_node_registration_t gmon_process_node
static
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 150 of file gmon.c.

◆ set_significant_error_command

vlib_cli_command_t set_significant_error_command
static
Initial value:
= {
.path = "set significant error",
.short_help = "set significant error <counter-index-nnn> [disable]",
}
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:257

(constructor) VLIB_CLI_COMMAND (set_significant_error_command)

Definition at line 293 of file gmon.c.