summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/elog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/elog.h')
-rw-r--r--src/vppinfra/elog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vppinfra/elog.h b/src/vppinfra/elog.h
index 9f957e336d0..ee63d5b491b 100644
--- a/src/vppinfra/elog.h
+++ b/src/vppinfra/elog.h
@@ -68,7 +68,7 @@ typedef struct
};
/** Event type index. */
- u16 type;
+ u16 event_type;
/** Track for this event. Tracks allow events to be sorted and
displayed by track. Think of 2 dimensional display with time and
@@ -324,7 +324,7 @@ elog_event_data_inline (elog_main_t * em,
e = vec_elt_at_index (em->event_ring, ei);
e->time_cycles = cpu_time;
- e->type = type_index;
+ e->event_type = type_index;
e->track = track_index;
/* Return user data for caller to fill in. */
@@ -543,6 +543,9 @@ elog_write_file (elog_main_t * em, char *clib_file, int flush_ring)
return error;
}
+clib_error_t *elog_write_file_not_inline (elog_main_t * em, char *clib_file,
+ int flush_ring);
+
always_inline clib_error_t *
elog_read_file (elog_main_t * em, char *clib_file)
{
@@ -558,6 +561,8 @@ elog_read_file (elog_main_t * em, char *clib_file)
return error;
}
+clib_error_t *elog_read_file_not_inline (elog_main_t * em, char *clib_file);
+
#endif /* CLIB_UNIX */
#endif /* included_clib_elog_h */