iscsi: use SPDK_TRACE_ARG_TYPE #defines

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I033aa060feb0f6e4a9abedd8cf1335b25437fa99
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7762
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
This commit is contained in:
Jim Harris 2021-05-05 22:08:59 +00:00 committed by Tomasz Zawadzki
parent 12cc5e2e50
commit a7ea7cbc57

View File

@ -1648,21 +1648,29 @@ SPDK_TRACE_REGISTER_FN(iscsi_conn_trace, "iscsi_conn", TRACE_GROUP_ISCSI)
spdk_trace_register_owner(OWNER_ISCSI_CONN, 'c');
spdk_trace_register_object(OBJECT_ISCSI_PDU, 'p');
spdk_trace_register_description("ISCSI_READ_DONE", TRACE_ISCSI_READ_FROM_SOCKET_DONE,
OWNER_ISCSI_CONN, OBJECT_NONE, 0, 0, "");
OWNER_ISCSI_CONN, OBJECT_NONE, 0,
SPDK_TRACE_ARG_TYPE_INT, "");
spdk_trace_register_description("ISCSI_WRITE_START", TRACE_ISCSI_FLUSH_WRITEBUF_START,
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 1, 0, "iovec: ");
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 1,
SPDK_TRACE_ARG_TYPE_INT, "iovec: ");
spdk_trace_register_description("ISCSI_WRITE_DONE", TRACE_ISCSI_FLUSH_WRITEBUF_DONE,
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0, 0, "");
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0,
SPDK_TRACE_ARG_TYPE_INT, "");
spdk_trace_register_description("ISCSI_READ_PDU", TRACE_ISCSI_READ_PDU,
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 1, 0, "opc: ");
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 1,
SPDK_TRACE_ARG_TYPE_INT, "opc: ");
spdk_trace_register_description("ISCSI_TASK_DONE", TRACE_ISCSI_TASK_DONE,
OWNER_ISCSI_CONN, OBJECT_SCSI_TASK, 0, 0, "");
OWNER_ISCSI_CONN, OBJECT_SCSI_TASK, 0,
SPDK_TRACE_ARG_TYPE_INT, "");
spdk_trace_register_description("ISCSI_TASK_QUEUE", TRACE_ISCSI_TASK_QUEUE,
OWNER_ISCSI_CONN, OBJECT_SCSI_TASK, 1, 1, "pdu: ");
OWNER_ISCSI_CONN, OBJECT_SCSI_TASK, 1,
SPDK_TRACE_ARG_TYPE_PTR, "pdu: ");
spdk_trace_register_description("ISCSI_TASK_EXECUTED", TRACE_ISCSI_TASK_EXECUTED,
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0, 0, "");
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0,
SPDK_TRACE_ARG_TYPE_INT, "");
spdk_trace_register_description("ISCSI_PDU_COMPLETED", TRACE_ISCSI_PDU_COMPLETED,
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0, 0, "");
OWNER_ISCSI_CONN, OBJECT_ISCSI_PDU, 0,
SPDK_TRACE_ARG_TYPE_INT, "");
}
void