summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorWei Dai <wei.dai@intel.com>2017-03-13 16:59:27 +0800
committerThomas Monjalon <thomas@monjalon.net>2017-05-05 15:13:29 +0200
commit4d8b986bfece500b343704dd1b508a98d9a96f3c (patch)
tree65eb57ad7e01158a3348cf4608955153e071aea2 /config
parent232dc830f2cdd9d3614772f5446bc91954cb65ca (diff)
downloaddpdk-4d8b986bfece500b343704dd1b508a98d9a96f3c.zip
dpdk-4d8b986bfece500b343704dd1b508a98d9a96f3c.tar.gz
dpdk-4d8b986bfece500b343704dd1b508a98d9a96f3c.tar.xz
config: make backtrace optional
When building DPDK with musl, there is need not to disable backtrace to remove some references to execinfo.h which is not supported by musl now. This also applies to some other libc implementation which doesn't support backtrace() and backtrace_symbols(). musl is an implementation of the userspace portion of the standard library functionality described in the ISO C and POSIX standards, plus common extensions. Got more details about musl from http://www.musl-libc.org . Signed-off-by: Wei Dai <wei.dai@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'config')
-rw-r--r--config/common_base1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 93e9235..8907bea 100644
--- a/config/common_base
+++ b/config/common_base
@@ -96,6 +96,7 @@ CONFIG_RTE_MAX_TAILQ=32
CONFIG_RTE_LOG_LEVEL=RTE_LOG_INFO
CONFIG_RTE_LOG_DP_LEVEL=RTE_LOG_INFO
CONFIG_RTE_LOG_HISTORY=256
+CONFIG_RTE_BACKTRACE=y
CONFIG_RTE_LIBEAL_USE_HPET=n
CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=n
CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=n