FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
perfmon.c File Reference
+ Include dependency graph for perfmon.c:

Go to the source code of this file.

Macros

#define log_debug(fmt, ...)   vlib_log_debug (if_default_log.class, fmt, __VA_ARGS__)
 
#define log_warn(fmt, ...)   vlib_log_warn (if_default_log.class, fmt, __VA_ARGS__)
 
#define log_err(fmt, ...)   vlib_log_err (if_default_log.class, fmt, __VA_ARGS__)
 

Functions

 VLIB_PLUGIN_REGISTER ()
 
 VLIB_REGISTER_LOG_CLASS (if_default_log, static)
 
void perfmon_reset (vlib_main_t *vm)
 
static clib_error_tperfmon_set (vlib_main_t *vm, perfmon_bundle_t *b)
 
clib_error_tperfmon_start (vlib_main_t *vm, perfmon_bundle_t *b)
 
clib_error_tperfmon_stop (vlib_main_t *vm)
 
static clib_error_tperfmon_init (vlib_main_t *vm)
 

Variables

perfmon_main_t perfmon_main
 

Macro Definition Documentation

◆ log_debug

#define log_debug (   fmt,
  ... 
)    vlib_log_debug (if_default_log.class, fmt, __VA_ARGS__)

Definition at line 38 of file perfmon.c.

◆ log_err

#define log_err (   fmt,
  ... 
)    vlib_log_err (if_default_log.class, fmt, __VA_ARGS__)

Definition at line 42 of file perfmon.c.

◆ log_warn

#define log_warn (   fmt,
  ... 
)    vlib_log_warn (if_default_log.class, fmt, __VA_ARGS__)

Definition at line 40 of file perfmon.c.

Function Documentation

◆ perfmon_init()

static clib_error_t* perfmon_init ( vlib_main_t vm)
static

Definition at line 292 of file perfmon.c.

+ Here is the call graph for this function:

◆ perfmon_reset()

void perfmon_reset ( vlib_main_t vm)

Definition at line 45 of file perfmon.c.

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

◆ perfmon_set()

static clib_error_t* perfmon_set ( vlib_main_t vm,
perfmon_bundle_t b 
)
static

Definition at line 83 of file perfmon.c.

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

◆ perfmon_start()

clib_error_t* perfmon_start ( vlib_main_t vm,
perfmon_bundle_t b 
)

Definition at line 216 of file perfmon.c.

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

◆ perfmon_stop()

clib_error_t* perfmon_stop ( vlib_main_t vm)

Definition at line 262 of file perfmon.c.

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

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

◆ VLIB_REGISTER_LOG_CLASS()

VLIB_REGISTER_LOG_CLASS ( if_default_log  ,
static   
)

Variable Documentation

◆ perfmon_main

perfmon_main_t perfmon_main

Definition at line 27 of file perfmon.c.