b992bb4e46
Add an new API spdk_poller_register_named() to set arbitrary name to the created poller. If NULL, the name is set to the pointer of the poller function. To set the name to the string of the poller function name conveniently, add an new macro SPDK_POLLER_REGISTER() together in this patch. All debug or error logs are changed to output poller name from pointer. The added name will be used in the new RPC thread_get_pollers. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I3be558dd795252f797e3e81fa2db2e8b128cf004 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/506 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |