FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
elog_main_t Struct Reference
+ Collaboration diagram for elog_main_t:

Data Fields

u32 n_total_events
 Total number of events in buffer. More...
 
u32 n_total_events_disable_limit
 When count reaches limit logging is disabled. More...
 
elog_event_t dummy_event
 Dummy event to use when logger is disabled. More...
 
uword event_ring_size
 Power of 2 number of elements in ring. More...
 
elog_event_tevent_ring
 Vector of events (circular buffer). More...
 
elog_event_type_tevent_types
 Vector of event types. More...
 
uwordevent_type_by_format
 Hash table mapping type format to type index. More...
 
char * string_table
 Events may refer to strings in string table. More...
 
uwordstring_table_hash
 
u8string_table_tmp
 
elog_track_ttracks
 Vector of tracks. More...
 
elog_track_t default_track
 Default track. More...
 
clib_time_t cpu_timer
 Place holder for CPU clock frequency. More...
 
elog_time_stamp_t init_time
 Timestamps. More...
 
elog_time_stamp_t serialize_time
 
uwordlock
 SMP lock, non-zero means locking required. More...
 
f64 nsec_per_cpu_clock
 Use serialize_time and init_time to give estimate for cpu clock frequency. More...
 
elog_event_tevents
 Vector of events converted to generic form after collection. More...
 

Detailed Description

Definition at line 132 of file elog.h.

Field Documentation

◆ cpu_timer

clib_time_t elog_main_t::cpu_timer

Place holder for CPU clock frequency.

Definition at line 169 of file elog.h.

◆ default_track

elog_track_t elog_main_t::default_track

Default track.

Definition at line 166 of file elog.h.

◆ dummy_event

elog_event_t elog_main_t::dummy_event

Dummy event to use when logger is disabled.

Definition at line 142 of file elog.h.

◆ event_ring

elog_event_t* elog_main_t::event_ring

Vector of events (circular buffer).

Power of 2 size. Used when events are being collected.

Definition at line 149 of file elog.h.

◆ event_ring_size

uword elog_main_t::event_ring_size

Power of 2 number of elements in ring.

Definition at line 145 of file elog.h.

◆ event_type_by_format

uword* elog_main_t::event_type_by_format

Hash table mapping type format to type index.

Definition at line 155 of file elog.h.

◆ event_types

elog_event_type_t* elog_main_t::event_types

Vector of event types.

Definition at line 152 of file elog.h.

◆ events

elog_event_t* elog_main_t::events

Vector of events converted to generic form after collection.

Definition at line 182 of file elog.h.

◆ init_time

elog_time_stamp_t elog_main_t::init_time

Timestamps.

Definition at line 172 of file elog.h.

◆ lock

uword* elog_main_t::lock

SMP lock, non-zero means locking required.

Definition at line 175 of file elog.h.

◆ n_total_events

u32 elog_main_t::n_total_events

Total number of events in buffer.

Definition at line 135 of file elog.h.

◆ n_total_events_disable_limit

u32 elog_main_t::n_total_events_disable_limit

When count reaches limit logging is disabled.

This is used for event triggers.

Definition at line 139 of file elog.h.

◆ nsec_per_cpu_clock

f64 elog_main_t::nsec_per_cpu_clock

Use serialize_time and init_time to give estimate for cpu clock frequency.

Definition at line 179 of file elog.h.

◆ serialize_time

elog_time_stamp_t elog_main_t::serialize_time

Definition at line 172 of file elog.h.

◆ string_table

char* elog_main_t::string_table

Events may refer to strings in string table.

Definition at line 158 of file elog.h.

◆ string_table_hash

uword* elog_main_t::string_table_hash

Definition at line 159 of file elog.h.

◆ string_table_tmp

u8* elog_main_t::string_table_tmp

Definition at line 160 of file elog.h.

◆ tracks

elog_track_t* elog_main_t::tracks

Vector of tracks.

Definition at line 163 of file elog.h.


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