FD.io VPP  v20.05.1-5-g09f167997
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

◆ sched_event_type_t

Enumerator
RUNNING 
WAKEUP 

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

Function Documentation

◆ elog_id_for_pid()

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:

◆ format_sched_event()

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:

◆ kelog_collect_sched_switch_trace()

void kelog_collect_sched_switch_trace ( elog_main_t em)

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

◆ kelog_init()

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:

◆ parse_sched_switch_trace()

sched_event_t* parse_sched_switch_trace ( u8 tdata,
u32 index 
)

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