diff options
author | Dave Barach <dave@barachs.net> | 2017-05-16 09:08:14 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2017-05-16 09:09:48 -0400 |
commit | 814813103bb4acb9ced39c22972bd5e97df13d33 (patch) | |
tree | 59b0ba5329ccd8687f0dd26796331de7e0c49902 /src/vlib/main.h | |
parent | 92a838b14a1862ef07c631412069e968f303639b (diff) |
VPP-845: add configurable elog post-mortem dump
Off by default. Enable via cmdline "... vlib { elog-post-mortem-dump }
..."
Change-Id: I2056b9de9b37475f2bfeeb5404da838f1b42645a
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r-- | src/vlib/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vlib/main.h b/src/vlib/main.h index 0e8026d17b0..bfa7ddbe6af 100644 --- a/src/vlib/main.h +++ b/src/vlib/main.h @@ -177,6 +177,10 @@ typedef struct vlib_main_t /* debugging */ volatile int parked_at_barrier; + + /* Attempt to do a post-mortem elog dump */ + int elog_post_mortem_dump; + } vlib_main_t; /* Global main structure. */ |