Spdk/include/spdk_internal
Michael Piszczek f6fb70730d thread: add spdk_poller_get_id
Issue: spdk_top tracked pollers by the poller name string and the
thread_id they are running on. This shows incorrect stats when
multiple pollers exist on the same thread with the same name.
Solution: Added a unique poller id for each poller on a thread and
to allow spdk_top to track pollers by thread_id and poller_id.

Signed-off-by: Michael Piszczek <mpiszczek@ddn.com>
Change-Id: I1879e2afc9a929d1df9e8e35510f0092c5443bdc
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5868
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-06-30 13:32:27 -04:00
..
accel_engine.h accel: create SW Engine Channel if HW Engine not supports 2022-06-30 13:32:26 -04:00
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
event.h scheduler: create public API and subsystem for scheduler/governor 2021-09-07 07:33:03 +00:00
idxd.h lib/idxd: implement idxd back end for CRC 2020-05-15 08:12:13 +00:00
init.h init: Declare a formal public API 2021-05-26 09:13:34 +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 include/mock.h: prevent expension of syscall name 2022-06-30 13:32:25 -04:00
nvme_tcp.h nvme/tcp: mark variable as potentially unused 2022-06-30 13:32:27 -04:00
rdma.h rdma: Add statistics per qpair 2021-03-01 10:17:13 +00:00
sgl.h sgl.h: Add a new internal header file. 2021-06-02 11:34:27 +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: add spdk_poller_get_id 2022-06-30 13:32:27 -04:00
trace_defs.h trace: shorten tpoint names 2022-06-30 13:32:27 -04:00
uring.h bdev/uring: Do not use IORING_SETUP_IOPOLL. 2020-08-04 18:27:56 +00:00
usdt.h usdt: don't emit probes in unit tests 2021-07-09 07:02:28 +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