Spdk/scripts/bpf
Konrad Sztyber 01ae68f71d scripts/trace: parse and generate usdt bpftrace scripts
This patch introduces definitions responsible for generating bpftrace
scripts and parsing its output.  That output will be used in subsequent
patches to provide annotations for SPDK traces.

The script has a hardcoded set of probe points that are used to generate
the bpftrace script.  They're also checked against the probes present in
code to sanitize them and make sure that they're in sync.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I1b8c95e1a035bd7affed2c44b056828a5da94abd
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8106
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-07-07 09:43:37 +00:00
..
gen_enums.sh nvmf: add USDT probes for subsystem state changes 2021-06-08 08:27:15 +00: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: parse and generate usdt bpftrace scripts 2021-07-07 09:43:37 +00:00