scripts/bpf/trace.py: add tcp events

Add tcp events changed in previous patch to the trace.py for
enhanced event information.

Change-Id: I8f176905a8283ba1b588d95bdbc075c38677acbe
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9307
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com>
This commit is contained in:
Krzysztof Karas 2021-08-25 15:51:51 +02:00 committed by Tomasz Zawadzki
parent 8107587bb4
commit 6d4ad9a2af

View File

@ -502,7 +502,20 @@ class QPair(SPDKObject):
'RDMA_REQ_RDY_TO_COMPL',
'RDMA_REQ_COMPLETING_C2H',
'RDMA_REQ_COMPLETING',
'RDMA_REQ_COMPLETED'])
'RDMA_REQ_COMPLETED',
'TCP_REQ_NEW',
'TCP_REQ_NEED_BUFFER',
'TCP_REQ_TX_H_TO_C',
'TCP_REQ_RDY_TO_EXECUTE',
'TCP_REQ_EXECUTING',
'TCP_REQ_EXECUTED',
'TCP_REQ_RDY_TO_COMPLETE',
'TCP_REQ_TRANSFER_C2H',
'TCP_REQ_COMPLETED',
'TCP_WRITE_START',
'TCP_WRITE_DONE',
'TCP_READ_DONE',
'TCP_REQ_AWAIT_R2T_ACK'])
self._objects = []
self._find_objects(dtrace.entries)