0b0f0c5415
Add an new JSON RPC thread_get_pollers to retrieve pollers of all the threads. By adding a helper function spdk_poller_state_str(), output poller state as string to improve readability. Most of the code of thread_get_stats and thread_get_pollers are common and so unify these two RPCs as possible as we can. Sample output of thread_get_stats RPC in doc/jsonrpc.md was wrong because thread_get_stats doesn't output ticks. Fix this together. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I003ffe569d3c0651ae65c5858eff8287f7e9031d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/604 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |