|
static void | elog_lock (elog_main_t *em) |
|
static void | elog_unlock (elog_main_t *em) |
|
__clib_export void * | elog_event_data (elog_main_t *em, elog_event_type_t *type, elog_track_t *track, u64 cpu_time) |
|
static void | new_event_type (elog_main_t *em, uword i) |
|
static uword | find_or_create_type (elog_main_t *em, elog_event_type_t *t) |
|
word | elog_event_type_register (elog_main_t *em, elog_event_type_t *t) |
| register an event type More...
|
|
__clib_export word | elog_track_register (elog_main_t *em, elog_track_t *t) |
| register an event track More...
|
|
static uword | parse_2digit_decimal (char *p, uword *number) |
|
static u8 * | fixed_format (u8 *s, char *fmt, char *result, uword *result_len) |
|
__clib_export u8 * | format_elog_event (u8 *s, va_list *va) |
|
u8 * | format_elog_track_name (u8 *s, va_list *va) |
|
__clib_export u8 * | format_elog_track (u8 *s, va_list *args) |
|
__clib_export char * | format_one_elog_event (void *em_arg, void *ep_arg) |
|
void | elog_time_now (elog_time_stamp_t *et) |
|
static i64 | elog_time_stamp_diff_os_nsec (elog_time_stamp_t *t1, elog_time_stamp_t *t2) |
|
static i64 | elog_time_stamp_diff_cpu (elog_time_stamp_t *t1, elog_time_stamp_t *t2) |
|
static f64 | elog_nsec_per_clock (elog_main_t *em) |
|
static void | elog_alloc_internal (elog_main_t *em, u32 n_events, int free_ring) |
|
__clib_export void | elog_alloc (elog_main_t *em, u32 n_events) |
|
__clib_export void | elog_resize (elog_main_t *em, u32 n_events) |
|
__clib_export void | elog_init (elog_main_t *em, u32 n_events) |
|
static uword | elog_event_range (elog_main_t *em, uword *lo) |
|
__clib_export elog_event_t * | elog_peek_events (elog_main_t *em) |
| convert event ring events to events, and return them as a vector. More...
|
|
__clib_export u32 | elog_string (elog_main_t *em, char *fmt,...) |
| add a string to the event-log string table More...
|
|
__clib_export elog_event_t * | elog_get_events (elog_main_t *em) |
| convert event ring events to events, and return them as a vector. More...
|
|
static void | maybe_fix_string_table_offset (elog_event_t *e, elog_event_type_t *t, u32 offset) |
|
static int | elog_cmp (void *a1, void *a2) |
|
void | elog_merge (elog_main_t *dst, u8 *dst_tag, elog_main_t *src, u8 *src_tag, f64 align_tweak) |
|
static void | serialize_elog_event (serialize_main_t *m, va_list *va) |
|
static void | unserialize_elog_event (serialize_main_t *m, va_list *va) |
|
static void | serialize_elog_event_type (serialize_main_t *m, va_list *va) |
|
static void | unserialize_elog_event_type (serialize_main_t *m, va_list *va) |
|
static void | serialize_elog_track (serialize_main_t *m, va_list *va) |
|
static void | unserialize_elog_track (serialize_main_t *m, va_list *va) |
|
static void | serialize_elog_time_stamp (serialize_main_t *m, va_list *va) |
|
static void | unserialize_elog_time_stamp (serialize_main_t *m, va_list *va) |
|
__clib_export void | serialize_elog_main (serialize_main_t *m, va_list *va) |
|
void | unserialize_elog_main (serialize_main_t *m, va_list *va) |
|
clib_error_t * | elog_write_file_not_inline (elog_main_t *em, char *clib_file, int flush_ring) |
|
__clib_export clib_error_t * | elog_read_file_not_inline (elog_main_t *em, char *clib_file) |
|