numam-spdk/lib/thread
Konrad Sztyber 462eb754a2 lib/thread: trace (get|put) IO channel calls
The traces record calls to spdk_(get|put)_io_channel() and saves the
reference count of the IO channel and its context.  The context, instead
of an IO channel pointer, was selected because the same pointer is often
used in other traces (e.g. nvmf's poll group), so it makes it possible
to match these traces together.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I15fe982a89685d8f6e23d406d6d48f5c2d9d604b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7232
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-06-10 10:58:05 +00:00
..
Makefile thread: Change direct accesses to poller outside lib/thread to helper functions 2021-05-13 10:03:44 +00:00
spdk_thread.map thread: Change remaining direct accesses to io_channel outside lib/thread to helper functions 2021-05-13 10:03:44 +00:00
thread.c lib/thread: trace (get|put) IO channel calls 2021-06-10 10:58:05 +00:00