Spdk/include/spdk_internal
Jim Harris 5a1c74bfa4 usdt: add User Space DTrace support to SPDK
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>
2021-05-21 08:03:27 +00:00
..
accel_engine.h lib/accel: Add the real chained crc32 support with the example. 2021-02-25 10:25:49 +00:00
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
event.h lib/event: modify RPC to get core frequencies from governor 2021-04-22 15:40:30 +00:00
idxd.h lib/idxd: implement idxd back end for CRC 2020-05-15 08:12:13 +00:00
lvolstore.h lvol: Don't include bdev_module.h in the public header 2021-05-04 21:07:42 +00:00
mock.h test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
nvme_tcp.h lib/nvmf: Use the accelerated engine to compute the data digest. 2021-02-25 10:25:49 +00:00
rdma.h rdma: Add statistics per qpair 2021-03-01 10:17:13 +00:00
sock.h posix: Group connections of sock group on host side based on placement_id 2021-04-26 15:33:03 +00:00
thread.h thread: Make struct spdk_thread and enum spdk_thread_state private in thread.c 2021-05-13 10:03:44 +00:00
uring.h bdev/uring: Do not use IORING_SETUP_IOPOLL. 2020-08-04 18:27:56 +00:00
usdt.h usdt: add User Space DTrace support to SPDK 2021-05-21 08:03:27 +00:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
vhost_user.h vhost_user: add VHOST_USER_PROTOCOL_F_INFLIGHT_SHMFD definition 2020-01-13 12:43:16 +00:00
virtio.h virtio_blk: add hotplug support 2021-04-16 19:21:13 +00:00