Spdk/app
ChengqiangMeng dbef0cfd02 app/spdk_top: fix SEGV on unknown address
The index of g_thread_info is equals to the thread ID.
When the thread ID is not continuous, but index of ABC is continuous,
so some elements of g_thread_info array will be empty.

fixes #1899

Signed-off-by: ChengqiangMeng <chengqiangx.meng@intel.com>
Change-Id: Ib90a26dcc2d47792a098b163746906f34043453a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7493
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-04-22 15:40:19 +00:00
..
iscsi_tgt build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
iscsi_top build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvmf_tgt build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
spdk_dd include: remove util.h include from queue_extras.h 2021-04-14 07:25:21 +00:00
spdk_lspci mk: Fix mlx5_dv linkage 2020-12-28 13:21:36 +00:00
spdk_tgt build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
spdk_top app/spdk_top: fix SEGV on unknown address 2021-04-22 15:40:19 +00:00
trace mk: don't link env if not needed 2020-09-07 09:28:39 +00:00
trace_record app/trace_record: modify help case to return 0 2021-02-26 11:50:58 +00:00
vhost build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
Makefile app: exclude spdk_top from mingw cross builds 2021-03-03 08:16:54 +00:00