Page MenuHomeFreeBSD

Fix dtrace probes for TCPDEBUG
ClosedPublic

Authored by hannes_mehnert.org on Mar 2 2016, 8:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 22, 4:56 AM
Unknown Object (File)
Wed, Aug 13, 6:36 AM
Unknown Object (File)
Tue, Aug 12, 6:26 PM
Unknown Object (File)
Wed, Aug 6, 3:30 PM
Unknown Object (File)
Tue, Aug 5, 2:56 AM
Unknown Object (File)
Sun, Aug 3, 2:48 AM
Unknown Object (File)
Fri, Jul 25, 8:30 PM
Unknown Object (File)
Jul 25 2025, 4:38 AM
Subscribers

Details

Summary

Fix dtrace probes (introduced by gnn@ in 287759): debug__input was used
for output and drop; connect didn't always fire a user probe; some probes
were missing in fastpath

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2739
Build 2760: arc lint + arc unit

Event Timeline

hannes_mehnert.org retitled this revision from to Fix dtrace probes for TCPDEBUG.
hannes_mehnert.org updated this object.
hannes_mehnert.org edited the test plan for this revision. (Show Details)
hannes_mehnert.org added a reviewer: gnn.

My motivation is to use dtrace instead of TCPDEBUG, thus I complemented every tcp_trace with a TCP_PROBE afterwards (some were missing). Moving around the m_free(m) is solely to have the consistency of #ifdef TCPDEBUG.. #endif followed by TCP_PROBE (if you prefer, the TCP_PROBE can be moved upwards, and the m_free stay at the same place as before.

hiren edited edge metadata.

Regarding m_free(m), I guess it makes sense to have TCP_PROBE follow TCPDEBUG everywhere for better readability.

Looks good to me.

This revision is now accepted and ready to land.Mar 3 2016, 5:41 PM
This revision was automatically updated to reflect the committed changes.