summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/elog.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-08-06 12:10:09 -0400
committerDave Barach <dave@barachs.net>2020-08-06 12:10:50 -0400
commit11fb09e38ffcbadc2629361377413f3ce12ec4da (patch)
tree65d2a0a16b6e1fce5bec0dba1368dca5db3bc9e3 /src/vppinfra/elog.h
parent586462fabcc913a5a4fa9115d4b5caf33dfdb347 (diff)
misc: harmonize names
Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ibad744788e200ce012ad88ff59c2c34920742454
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);
}