FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
elog_event_type_t Struct Reference

Data Fields

u32 type_index_plus_one
 Type index plus one assigned to this type. More...
 
char ** enum_strings_vector
 String table as a vector constructed when type is registered. More...
 
char * format
 Format string. More...
 
char * format_args
 Specifies how arguments to format are parsed from event data. More...
 
char * function
 Function name generating event. More...
 
u32 n_enum_strings
 Number of elements in string enum table. More...
 
char * enum_strings []
 String table for enum/number to string formatting. More...
 

Detailed Description

Definition at line 81 of file elog.h.

Field Documentation

char* elog_event_type_t::enum_strings[]

String table for enum/number to string formatting.

Definition at line 109 of file elog.h.

char** elog_event_type_t::enum_strings_vector

String table as a vector constructed when type is registered.

Definition at line 88 of file elog.h.

char* elog_event_type_t::format

Format string.

(example: "my-event (%d,%d)").

Definition at line 91 of file elog.h.

char* elog_event_type_t::format_args

Specifies how arguments to format are parsed from event data.

String of characters '0' '1' or '2' '3' to specify log2 size of data (e.g. for u8, u16, u32 or u64), 's' means a null-terminated C string 't' means argument is an index into enum string table for this type. 'e' is a float, 'f' is a double.

Definition at line 100 of file elog.h.

char* elog_event_type_t::function

Function name generating event.

Definition at line 103 of file elog.h.

u32 elog_event_type_t::n_enum_strings

Number of elements in string enum table.

Definition at line 106 of file elog.h.

u32 elog_event_type_t::type_index_plus_one

Type index plus one assigned to this type.

This is used to mark type as seen.

Definition at line 85 of file elog.h.


The documentation for this struct was generated from the following file: