Spdk/scripts
Konrad Sztyber 7926c4aaff scripts/trace: use trace library for parsing traces
Added trace provider based on the trace library.  It uses ctypes to
define the trace objects and execute library calls.  It significantly
(~2x) speeds up the execution time on large trace files.

The script automatically detects the type of the trace file and will use
the appropriate engine (either JSON or the trace library) using
python-magic for file detection.  When piping a file through stdin, JSON
format will be assumed.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Icfa216edee4662714266968eeb72f0097b3779b4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9439
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-06-30 13:32:26 -04:00
..
bash-completion bash-completion: Use -h output in case app is not available under the sock 2021-09-03 08:08:28 +00:00
bpf scripts/trace: use trace library for parsing traces 2022-06-30 13:32:26 -04:00
ceph scripts/ceph: load loop module explicitly 2021-03-26 18:46:13 +00:00
perf scripts/nvmf: fixed type error in sar measurements 2022-06-30 13:32:26 -04:00
pkgdep scripts/trace: use trace library for parsing traces 2022-06-30 13:32:26 -04:00
rpc bdev/nvme: bdev_nvme_attach_controller now has a multipath parameter 2022-06-30 13:32:26 -04:00
spdkcli nvmf: remove usage of "whitelist" 2020-12-03 09:41:07 +00:00
vagrant scripts/vagrant: Remove OCSSD support from vagrant configuration 2022-06-30 13:32:25 -04:00
arm_cross_compile.sh scripts: ARM64 Cross-Compilation Support 2021-09-09 20:26:59 +00:00
bpftrace.sh bpftrace.sh: append enums at end of script 2022-06-30 13:32:26 -04:00
check_format.sh check_format.sh: fix JSON-RPC doc checks 2022-06-30 13:32:25 -04:00
common.sh scripts: add autotest support for Windows 2021-06-08 08:19:32 +00:00
config_converter.py scripts/config_converter: skip sections not present in legacy config 2021-01-15 08:32:10 +00:00
core-collector.sh scripts: Use core dump collector 2021-01-06 00:01:05 +00:00
detect_cc.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
dpdk_mem_info.py scripts: add a parser for the dpdk memory stats. 2020-01-24 05:46:43 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio-wrapper scripts/fio-wrapper: Move devices sync to configure_devices() 2021-05-27 07:35:29 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
gen_nvme.sh scripts/gen_nvme.sh: add option for remote bdev JSON configuration 2022-06-30 13:32:25 -04:00
genconfig.py genconfig.py: allow numbers in config option names 2020-02-20 14:40:19 +00:00
get-pmr pkgdep/git: Bump vanilla qemu to v6.0.0 2021-05-11 11:51:01 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
iostat.py iostat : add -x to display extended statistics 2021-06-04 22:47:44 +00:00
pc_libs.sh build: generate pkg-config files for SPDK 2021-01-21 09:46:32 +00:00
pc_modules.sh build: generate pkg-config files for SPDK 2021-01-21 09:46:32 +00:00
pc.sh build: install generated pkg-config files 2021-03-17 11:10:45 +00:00
pkgdep.sh scripts/pkgdep: respect $ID_LIKE 2021-09-06 09:56:14 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
qat_setup.sh configure: remove --with-igb-uio-driver option 2021-01-22 08:47:48 +00:00
rpc_http_proxy.py scripts/rpc_http_proxy: Print to stdout POSTed json rpc calls and responses 2021-07-09 19:19:48 +00:00
rpc.py bdev/nvme: bdev_nvme_attach_controller now has a multipath parameter 2022-06-30 13:32:26 -04:00
rxe_cfg_small.sh test/nvmf: Use rxe_cfg to get rxe-enabled net devices 2021-04-12 09:41:20 +00:00
setup.sh scripts/setup: Try to cleanup any lingering spdk_pci_lock files 2021-08-04 14:11:28 +00:00
spdkcli.py scripts/spdkcli: Stay on command input. 2020-07-08 07:55:15 +00:00
sync_dev_uevents.sh sync_dev_uevents: Break from the loop if kernel seqnum matches mdev's 2021-02-04 16:10:49 +00:00