5a1c74bfa4
For now, we will keep this disabled by default, enable with --with-usdt option to the configure script. Long-term we will want to enable this by default, and only disable via configure. Modules can include spdk_internal/usdt.h and add probes such as: SPDK_DTRACE_PROBE2(probe_name, ptr, val); When USDT is enabled, these will translate to DTRACE_PROBE2(spdk, probe_name, ptr, val). When USDT is disabled, these will translate to nothing. Later patches will add some probe points to the nvmf target, some bpftrace scripts, and instructions for how to successfully capture data with these probe points and scripts. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id168e2c800fa5522815a175026386319014cfdaa Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7173 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |