numam-spdk/test/iscsi_tgt
Liu Xiaodong a206234d09 lib/trace: add trace_record tool
trace_record is used to poll the spdk trace shm file
and store new entries from it to another specified trace file.
This could help retain the trace_entires from the overlay of
trace circular buffer

Note:
* trace_record reads the input tracefile into a process-local
memory and writes trace entries to the output file only at shutdown.
* trace_record can be shut down on SIGINT or SIGTERM signal.

A usage sample is:
./spdk_trace_record -s bdev_svc -p <spdk app pid> -f trace.tmp -q

Change-Id: If073a05022ec9c1b45923c38ba407a873be8741b
Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/433385
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-01-30 06:36:25 +00:00
..
bdev_io_wait scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
calsoft test/iscsi: fix support for python 3.6 in calsoft.py 2019-01-14 05:45:35 +00:00
digests scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ext4test test/iscsi: exclude *.o from ext4test.sh rsync 2018-10-15 22:20:17 +00:00
filesystem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
fio test/iscsi_tgt: Port running_config test to JSON config and re-enable it. 2018-11-19 18:17:22 +00:00
initiator scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ip_migration test/iscsi_tgt: Move ip_migration test from nightly to per-patch 2019-01-08 13:27:25 +00:00
lvol test/iscsi: add fio and lvol test cases with raid bdev 2018-09-15 00:16:50 +00:00
multiconnection scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
nvme_remote test/nvmf: Use create_transport instead of set_tgt_opts 2018-10-12 16:30:24 +00:00
perf test: mark iscsi_initiator.sh as executable 2018-12-19 19:16:08 +00:00
pmem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
qos QoS/Bdev: add RPC support for Read/Write separate bandwidth limits 2019-01-22 23:21:43 +00:00
rbd scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
reset scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
rpc_config test/iscsi_tgt: fixup bytes to str for python 3.5 2018-12-17 19:41:15 +00:00
sock libsock: add functional tests 2018-11-07 17:08:27 +00:00
trace_record lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
common.sh test/iscsi_tgt: Remove secondary process from iscsi_tgt tests. 2019-01-18 09:51:45 +00:00
iscsi_tgt.sh lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
test_plan.md test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00