FD.io VPP  v21.01.1
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 68 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 223 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 157 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 107 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 94 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 256 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 242 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 65 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:107

(constructor) VLIB_REGISTER_NODE (gmon_process_node)

Definition at line 149 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:256

(constructor) VLIB_CLI_COMMAND (set_significant_error_command)

Definition at line 292 of file gmon.c.