FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
unix-kelog.c File Reference
+ Include dependency graph for unix-kelog.c:

Go to the source code of this file.

Data Structures

struct  sched_event_t
 

Enumerations

enum  sched_event_type_t { RUNNING = 0, WAKEUP }
 

Functions

void kelog_init (elog_main_t *em, char *kernel_tracer, u32 n_events)
 
u8format_sched_event (u8 *s, va_list *va)
 
sched_event_tparse_sched_switch_trace (u8 *tdata, u32 *index)
 
static u32 elog_id_for_pid (elog_main_t *em, u8 *name, u32 pid)
 
void kelog_collect_sched_switch_trace (elog_main_t *em)
 

Enumeration Type Documentation

Enumerator
RUNNING 
WAKEUP 

Definition at line 28 of file unix-kelog.c.

Function Documentation

static u32 elog_id_for_pid ( elog_main_t em,
u8 name,
u32  pid 
)
static

Definition at line 301 of file unix-kelog.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_sched_event ( u8 s,
va_list *  va 
)

Definition at line 134 of file unix-kelog.c.

+ Here is the call graph for this function:

void kelog_collect_sched_switch_trace ( elog_main_t em)

Definition at line 318 of file unix-kelog.c.

+ Here is the call graph for this function:

void kelog_init ( elog_main_t em,
char *  kernel_tracer,
u32  n_events 
)

Definition at line 44 of file unix-kelog.c.

+ Here is the call graph for this function:

sched_event_t* parse_sched_switch_trace ( u8 tdata,
u32 index 
)

Definition at line 145 of file unix-kelog.c.

+ Here is the caller graph for this function: