numam-spdk/mk
Pawel Wodkowski 848daf274b log: add backtrace option
Add '--enable-log-bt=lvl' option to show simple backtrace in following
form:

thread.c: 346:spdk_io_device_register: *ERROR*: io_device 0xf2ef80
already registered
*ERROR*: === BACKTRACE START ===
*ERROR*:   1: spdk_io_device_register() at 0x6d64df
*ERROR*:   2:  spdk_copy_engine_initialize() at 0x71059c
*ERROR*:   3:   spdk_copy_engine_subsystem_initialize() at 0x572ed0
*ERROR*:   4:    spdk_subsystem_init_next() at 0x6ca756
*ERROR*:   5:     spdk_subsystem_verify() at 0x6caba7
*ERROR*:   6:      _spdk_event_queue_run_batch() at 0x6c1ffa
*ERROR*:   7:       _spdk_reactor_run() at 0x6c5349
*ERROR*:   8:        spdk_reactors_start() at 0x6c784f
*ERROR*:   9:         spdk_app_start() at 0x6bf18e
*ERROR*: === BACKTRACE END ===

This adds additional libunwind dependency so don't enable by default.

Change-Id: Ice93d7571a000d8a57d2fedda7670c9a0b6ff7b7
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/419726
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-07-25 15:48:25 +00:00
..
nvme.libtest.mk build: add sock dependency for all NVMe lib users 2018-06-22 17:09:57 +00:00
spdk.app.mk build: link mock lib with --whole-archive 2018-02-23 10:15:23 -05:00
spdk.common.mk log: add backtrace option 2018-07-25 15:48:25 +00:00
spdk.deps.mk build: add copyright header where missing 2016-11-22 16:41:47 -07:00
spdk.lib.mk build: add dummy @: to some "all" targets 2018-02-14 10:40:40 -05:00
spdk.mock.unittest.mk test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
spdk.modules.mk build: Only link virtio bdev module if CONFIG_VIRTIO is 'y' 2018-07-20 20:22:01 +00:00
spdk.subdirs.mk Make: remove -e from subdirectory command 2018-02-21 13:10:29 -05:00
spdk.unittest.mk build: add sock dependency for all NVMe lib users 2018-06-22 17:09:57 +00:00