Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d7bfa0e
)
Make whole version string available in core files
13/9613/2
author
Florin Coras
<fcoras@cisco.com>
Wed, 29 Nov 2017 00:35:44 +0000
(19:35 -0500)
committer
Chris Luke
<chris_luke@comcast.com>
Wed, 29 Nov 2017 02:39:45 +0000
(
02:39
+0000)
Change-Id: I1f292e6035e1ff9e7bdca8f0a9275ebd3d4d8d0a
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vpp/app/version.c
patch
|
blob
|
history
diff --git
a/src/vpp/app/version.c
b/src/vpp/app/version.c
index
0a2c7fd
..
d99f875
100644
(file)
--- a/
src/vpp/app/version.c
+++ b/
src/vpp/app/version.c
@@
-16,7
+16,9
@@
#include <vppinfra/cpu.h>
#include <vpp/app/version.h>
-static char *vpe_version_string =
+/* N.B. Variable is not static to ensure it's visible in core dumps, i.e.,
+ * it doesn't go to rodata segment */
+char *vpe_version_string =
"vpp v" VPP_BUILD_VER
" built by " VPP_BUILD_USER " on " VPP_BUILD_HOST " at " VPP_BUILD_DATE;