summaryrefslogtreecommitdiffstats
path: root/src/vlib/log.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-11-25 10:07:09 -0500
committerDamjan Marion <dmarion@me.com>2020-11-25 19:01:08 +0000
commitbc867c3d2137dab4b1395196c1936233517980ab (patch)
tree2f0439bc2c6ba0bde5bd3cf3d87723454c74f3d7 /src/vlib/log.h
parent7483a7272d15354486371be7a20c4bf35ab2eb38 (diff)
vlib: add elog events for vlib log entries
Pretty interesting to see how long plugins take to load. Type: improvement Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: If496eb73b2e1fd9dd714142cd5195fa7ccd93ebd
Diffstat (limited to 'src/vlib/log.h')
-rw-r--r--src/vlib/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/log.h b/src/vlib/log.h
index 75bdceb806e..a94c57a51eb 100644
--- a/src/vlib/log.h
+++ b/src/vlib/log.h
@@ -108,6 +108,7 @@ typedef struct
/* config */
vlib_log_class_config_t *configs;
uword *config_index_by_name;
+ int add_to_elog;
/* registrations */
vlib_log_class_registration_t *registrations;