FD.io VPP  v16.12-rc0-308-g931be3a
Vector Packet Processing
spp_platform_trace_log.c File Reference
+ Include dependency graph for spp_platform_trace_log.c:

Go to the source code of this file.

Macros

#define WORD_SIZE   sizeof(u32)
 
#define LOG_TABLE_MAX_ENTRIES   (sizeof(spp_cnat_logger_table)/sizeof(spp_cnat_logger_table[0]))
 

Functions

void spp_trace_logger (u16 error_code, u16 num_args, u32 *arg)
 
void spp_trace_log_init (void)
 
void init_trace_log_buf_pool (void)
 
void spp_printf (u16 error_code, u16 num_args, u32 *arg)
 
u32 spp_trace_log_get_unix_time_in_seconds (void)
 

Variables

int temperature_read_blocked = 1
 
spp_cnat_logger_tbl_t spp_cnat_logger_table []
 
u32 error_code_timestamps [LOG_TABLE_MAX_ENTRIES]
 
spp_timer_t sensor_timer
 
spp_trace_log_global_info_t spp_trace_log_global_info
 
spp_global_counters_t spp_global_counters
 
spp_trace_log_info_t spp_default_trace_log_info
 
spp_trace_log_info_tspp_trace_log_info_pool
 

Macro Definition Documentation

#define LOG_TABLE_MAX_ENTRIES   (sizeof(spp_cnat_logger_table)/sizeof(spp_cnat_logger_table[0]))

Definition at line 368 of file spp_platform_trace_log.c.

#define WORD_SIZE   sizeof(u32)

Definition at line 33 of file spp_platform_trace_log.c.

Function Documentation

void init_trace_log_buf_pool ( void  )

Definition at line 970 of file spp_platform_trace_log.c.

void spp_printf ( u16  error_code,
u16  num_args,
u32 arg 
)

Definition at line 975 of file spp_platform_trace_log.c.

+ Here is the caller graph for this function:

u32 spp_trace_log_get_unix_time_in_seconds ( void  )
inline

Definition at line 980 of file spp_platform_trace_log.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void spp_trace_log_init ( void  )

Definition at line 965 of file spp_platform_trace_log.c.

void spp_trace_logger ( u16  error_code,
u16  num_args,
u32 arg 
)

Definition at line 960 of file spp_platform_trace_log.c.

Variable Documentation

u32 error_code_timestamps[LOG_TABLE_MAX_ENTRIES]

Definition at line 371 of file spp_platform_trace_log.c.

spp_timer_t sensor_timer

Definition at line 372 of file spp_platform_trace_log.c.

spp_cnat_logger_tbl_t spp_cnat_logger_table[]

Definition at line 37 of file spp_platform_trace_log.c.

spp_trace_log_info_t spp_default_trace_log_info

Definition at line 379 of file spp_platform_trace_log.c.

spp_global_counters_t spp_global_counters

Definition at line 374 of file spp_platform_trace_log.c.

spp_trace_log_global_info_t spp_trace_log_global_info

Definition at line 373 of file spp_platform_trace_log.c.

spp_trace_log_info_t* spp_trace_log_info_pool

Definition at line 380 of file spp_platform_trace_log.c.

int temperature_read_blocked = 1

Definition at line 35 of file spp_platform_trace_log.c.