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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vppinfra/elog.h b/src/vppinfra/elog.h
index 3cd067ce707..9f957e336d0 100644
--- a/src/vppinfra/elog.h
+++ b/src/vppinfra/elog.h
@@ -139,7 +139,7 @@ typedef struct
u32 n_total_events_disable_limit;
/** Dummy event to use when logger is disabled. */
- elog_event_t dummy_event;
+ elog_event_t placeholder_event;
/** Power of 2 number of elements in ring. */
uword event_ring_size;
@@ -298,9 +298,9 @@ elog_event_data_inline (elog_main_t * em,
uword ei;
word type_index, track_index;
- /* Return the user dummy memory to scribble data into. */
+ /* Return the user placeholder memory to scribble data into. */
if (PREDICT_FALSE (!elog_is_enabled (em)))
- return em->dummy_event.data;
+ return em->placeholder_event.data;
type_index = (word) type->type_index_plus_one - 1;
track_index = (word) track->track_index_plus_one - 1;
@@ -352,9 +352,9 @@ elog_event_data_not_inline (elog_main_t * em,
elog_event_type_t * type,
elog_track_t * track, u64 cpu_time)
{
- /* Return the user dummy memory to scribble data into. */
+ /* Return the user placeholder memory to scribble data into. */
if (PREDICT_FALSE (!elog_is_enabled (em)))
- return em->dummy_event.data;
+ return em->placeholder_event.data;
return elog_event_data (em, type, track, cpu_time);
}