Spdk/scripts/bpf
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
..
gen_enums.sh bpftrace: add escape char to gen_enums.sh 2022-06-30 13:32:26 -04:00
nvmf.bt usdt: pass ticks as the first probe argument 2021-06-28 16:17:35 +00:00
readv.bt scripts: add bpf/readv.bt 2021-05-21 08:03:27 +00:00
send_msg.bt scripts: add bpf/send_msg.bt 2021-05-21 08:03:27 +00:00
syscalls.bt scripts: add bpf/syscalls.bt 2021-05-21 08:03:27 +00:00
trace.py scripts/trace: use trace library for parsing traces 2022-06-30 13:32:26 -04:00