Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace.py: show human-readable TCP state transitions
This commit slighly improves the --tcpdump option to present the tcp_state tracepoint look less cryptic like so: 0xffff8000015c5040 netisr 0 1.172073258 tcp_state tp=0xffffa00001e9bc00, CLOSED -> SYN_RECEIVED 0xffff8000015c5040 netisr 0 1.172079566 tcp_state tp=0xffffa00001e9bc00, SYN_RECEIVED -> ESTABLISHED 0xffff800002064040 >/tests/tst-tcp 0 1.273263812 tcp_state tp=0xffffa00001e9bc00, ESTABLISHED -> FIN_WAIT_1 0xffff8000015c5040 netisr 0 1.273368587 tcp_state tp=0xffffa00001e9b800, ESTABLISHED -> CLOSE_WAIT 0xffff8000015c5040 netisr 0 1.273374815 tcp_state tp=0xffffa00001e9bc00, FIN_WAIT_1 -> FIN_WAIT_2 0xffff80000205e040 /tests/tst-tcp- 0 1.273412034 tcp_state tp=0xffffa00001e9b800, CLOSE_WAIT -> LAST_ACK 0xffff8000023fa040 >/tests/tst-tcp 0 1.280858240 tcp_state tp=0xffffa00001e9b800, CLOSED -> CLOSED Signed-off-by: Waldemar Kozaczuk <[email protected]>
- Loading branch information