numam-spdk/app/trace
Xiaodong Liu 1468f8dd3b app/trace: check num_entries before referring
For trace file which is generated by spdk trace_record,
if one lcore recorded no entries, there is no space for
it to have idle entries to referring.

Change-Id: I1cd89ec934407fc805bda66c8c87f76cb181679e
Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449840
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-04-04 01:43:44 +00:00
..
.gitignore trace: add tracepoint library and app 2016-05-11 10:43:09 -07:00
Makefile build: add mk/spdk.app_cxx.mk 2018-12-11 18:07:53 +00:00
trace.cpp app/trace: check num_entries before referring 2019-04-04 01:43:44 +00:00