numam-spdk/app
Krzysztof Karas 90a7a92456 spdk_top: check thread ID before invoking pop-up from core pop-up
This is to prevent app crashing when selecting a core with no
threads and invoking threads pop-up. The thread ID is being checked
before threads pop-up is displayed.
(by default this value is set to 0, because valid thread IDs start
from the value of 1).

Fixes #2132

Change-Id: I2285370a41fa087c21f968d13882ad06e6577423
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9363
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Chengqiang Meng <chengqiangx.meng@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-09-02 07:43:07 +00:00
..
iscsi_tgt net: Remove library 2021-07-13 08:57:58 +00:00
iscsi_top build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvmf_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_dd event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_lspci mk: Fix mlx5_dv linkage 2020-12-28 13:21:36 +00:00
spdk_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
spdk_top spdk_top: check thread ID before invoking pop-up from core pop-up 2021-09-02 07:43:07 +00:00
trace app/trace: assert history ptr 2021-07-16 07:13:44 +00:00
trace_record app/trace_record: modify help case to return 0 2021-02-26 11:50:58 +00:00
vhost event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
Makefile app: exclude spdk_top from mingw cross builds 2021-03-03 08:16:54 +00:00