Spdk/include/spdk_internal
Jim Harris 7c30df4ece usdt: add SPDK_DTRACE_PROBE variants that don't collect ticks
While userspace probes have a high overhead when enabled due
to the trap, it is still cleaner and slightly more efficient
to not have all of the SPDK_DTRACE_PROBE macros implicitly
capture the tsc counter as an argument.

So rename the existing SPDK_DTRACE_PROBE macros to
SPDK_DTRACE_PROBE_TICKS, and create new SPDK_DTRACE_PROBE
macros without the implicit ticks argument.

Note this does cause slight breakage if there is any
out-of-tree code that using SPDK_DTRACE_PROBE previously,
and programs written against those probes would need to
adjust their arguments.  But the likelihood of such code
existing is practically nil, so I'm just renaming the
macros to their ideal state.

All of the nvmf SPDK_DTRACE_PROBE calls are changed to
use the new _TICKS variants.  The event one is left
without _TICKS - we have no in-tree scripts that use
the tsc for that event.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Icb965b7b8f13c23d671263326029acb88c82d9df
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17669
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Mike Gerdts <mgerdts@nvidia.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2023-05-02 18:43:44 +00:00
..
assert.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
event.h thread: use spdk_thread_get_app_thread instead of _spdk_get_app_thread 2023-02-24 12:46:27 +00:00
idxd.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
init.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
lvolstore.h vbdev_lvol: load esnaps via examine_config 2023-04-26 17:32:13 +00:00
mlx5.h module/accel: Add mlx5 accel module 2023-01-19 22:00:58 +00:00
mock.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme_tcp.h nvmf/tcp: Wait for PDUs to release when closing a qpair 2023-04-10 17:58:48 +00:00
rdma.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sgl.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock.h sock: change min recv/send buf sizes to 4 KiB 2023-04-04 07:36:23 +00:00
thread.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
trace_defs.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
uring.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
usdt.h usdt: add SPDK_DTRACE_PROBE variants that don't collect ticks 2023-05-02 18:43:44 +00:00
utf.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vhost_user.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
virtio.h misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00