HomeFreeBSD

ddb: add optional printing of BBLog entries

Description

ddb: add optional printing of BBLog entries

Add a /b option to show tcpcb and show all tcpcbs to print BBLog
entries. Right now this supports the entries generated by the
FreeBSD default TCP stack. It should help in debugging issues
reported by syzkaller.
The syntax for printing sent and received packets is similar to the
one used by packetdrill, since the output of ddb will be used to
create packetdrill scripts for debugging.

Reviewed by: thj
Tested by: thj
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D50629

(cherry picked from commit a62c6b0de48a5b9b752976b2675ac807684b7fdb)

Details

Provenance
tuexenAuthored on Jun 10 2025, 1:29 PM
Reviewer
thj
Differential Revision
D50629: ddb: add optional printing of BBLog entries
Parents
rG6e95753ac517: ddb: add show all tcpcbs
Branches
Unknown
Tags
Unknown