FD.io VPP  v18.01-8-g0eacf49
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...
 
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 131 of file elog.h.

Field Documentation

clib_time_t elog_main_t::cpu_timer

Place holder for CPU clock frequency.

Definition at line 166 of file elog.h.

elog_track_t elog_main_t::default_track

Default track.

Definition at line 163 of file elog.h.

elog_event_t elog_main_t::dummy_event

Dummy event to use when logger is disabled.

Definition at line 141 of file elog.h.

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 148 of file elog.h.

uword elog_main_t::event_ring_size

Power of 2 number of elements in ring.

Definition at line 144 of file elog.h.

uword* elog_main_t::event_type_by_format

Hash table mapping type format to type index.

Definition at line 154 of file elog.h.

elog_event_type_t* elog_main_t::event_types

Vector of event types.

Definition at line 151 of file elog.h.

elog_event_t* elog_main_t::events

Vector of events converted to generic form after collection.

Definition at line 179 of file elog.h.

elog_time_stamp_t elog_main_t::init_time

Timestamps.

Definition at line 169 of file elog.h.

uword* elog_main_t::lock

SMP lock, non-zero means locking required.

Definition at line 172 of file elog.h.

u32 elog_main_t::n_total_events

Total number of events in buffer.

Definition at line 134 of file elog.h.

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 138 of file elog.h.

f64 elog_main_t::nsec_per_cpu_clock

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

Definition at line 176 of file elog.h.

elog_time_stamp_t elog_main_t::serialize_time

Definition at line 169 of file elog.h.

char* elog_main_t::string_table

Events may refer to strings in string table.

Definition at line 157 of file elog.h.

elog_track_t* elog_main_t::tracks

Vector of tracks.

Definition at line 160 of file elog.h.


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