nvmf/tcp: fix trace definition for TRACE_TCP_QP_ABORT_REQ
The tracepoint passes qpair pointer as an argument, while not specifying it in its definitions, which makes the following assertion to fail: trace.c:83: _spdk_trace_record: Assertion `0 && "Unexpected number of tracepoint arguments"' failed. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I315e9bf0465db7033ac0f1169536c459ac4e9250 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10761 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
2af48ebf58
commit
014bce3ff4
@ -181,7 +181,7 @@ SPDK_TRACE_REGISTER_FN(nvmf_tcp_trace, "nvmf_tcp", TRACE_GROUP_NVMF_TCP)
|
|||||||
SPDK_TRACE_ARG_TYPE_INT, "");
|
SPDK_TRACE_ARG_TYPE_INT, "");
|
||||||
spdk_trace_register_description("TCP_QP_ABORT_REQ", TRACE_TCP_QP_ABORT_REQ,
|
spdk_trace_register_description("TCP_QP_ABORT_REQ", TRACE_TCP_QP_ABORT_REQ,
|
||||||
OWNER_NONE, OBJECT_NONE, 0,
|
OWNER_NONE, OBJECT_NONE, 0,
|
||||||
SPDK_TRACE_ARG_TYPE_INT, "");
|
SPDK_TRACE_ARG_TYPE_PTR, "qpair");
|
||||||
spdk_trace_register_description("TCP_QP_RCV_STATE_CHANGE", TRACE_TCP_QP_RCV_STATE_CHANGE,
|
spdk_trace_register_description("TCP_QP_RCV_STATE_CHANGE", TRACE_TCP_QP_RCV_STATE_CHANGE,
|
||||||
OWNER_NONE, OBJECT_NONE, 0,
|
OWNER_NONE, OBJECT_NONE, 0,
|
||||||
SPDK_TRACE_ARG_TYPE_INT, "state");
|
SPDK_TRACE_ARG_TYPE_INT, "state");
|
||||||
|
Loading…
Reference in New Issue
Block a user