Spdk/app
Jim Harris 3f229f0e46 app/trace: calculate per-core overlaps correctly
Remove the calculation of g_last_tsc.  This was erroneously
cutting out valid data - for example, when reactor X has
an event that happened very early on, then reactor Y fills
its buffer before reactor X has another event.  All of reactor
Y's data would be ignored until reactor X processed another
event.

While here, remove some code that should have been removed
as part of the fudge_factor removal.  Also use SPDK_COUNTOF
to simplify calculation of the number of entries per
reactor buffer.

Reported-by: John Kariuki
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I16c7f80cbfc8b4bb5f90a195d30df69e07b4ff85

Reviewed-on: https://review.gerrithub.io/424615
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-09-05 18:03:43 +00:00
..
iscsi_tgt build: fix some library dependencies 2018-08-16 14:27:18 +00:00
iscsi_top app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
nvmf_tgt app: allow full-name command line options 2018-08-13 17:30:10 +00:00
spdk_tgt build: fix some library dependencies 2018-08-16 14:27:18 +00:00
trace app/trace: calculate per-core overlaps correctly 2018-09-05 18:03:43 +00:00
vhost build: fix some library dependencies 2018-08-16 14:27:18 +00:00
Makefile app/spdk_tgt: add unified SPDK target application 2018-03-09 09:56:44 -05:00