Commit 17318b3d authored by Jim Harris's avatar Jim Harris
Browse files

spdk_top: add 'tid' field to framework_get_reactors decoders



When 'tid' was added to the framework_get_reactors output, we missed
adding it to the spdk_top decoders for that RPC.

Fixes: f16e9f4d ("lib/event: framework_get_reactors supports getting pid and tid")

Signed-off-by: default avatarJim Harris <jim.harris@samsung.com>
Change-Id: I854d92afa0bf5a9d6677321fe2e62d27eca81a2e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23648


Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarSebastian Brzezinka <sebastian.brzezinka@intel.com>
parent f6504f48
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ struct rpc_core_info {
	uint64_t last_irq;
	bool in_interrupt;
	struct rpc_core_threads threads;
	uint64_t tid;
};

struct rpc_scheduler {
@@ -518,6 +519,7 @@ static const struct spdk_json_object_decoder rpc_core_info_decoders[] = {
	{"core_freq", offsetof(struct rpc_core_info, core_freq), spdk_json_decode_uint32, true},
	{"in_interrupt", offsetof(struct rpc_core_info, in_interrupt), spdk_json_decode_bool},
	{"lw_threads", offsetof(struct rpc_core_info, threads), rpc_decode_cores_lw_threads},
	{"tid", offsetof(struct rpc_core_info, tid), spdk_json_decode_uint64},
};

static int