Page MenuHomeFreeBSD

libdtrace: Fix formatting of messages about drops
ClosedPublic

Authored by markj on Tue, Apr 15, 6:06 PM.
Tags
None
Referenced Files
F115576586: D49847.id.diff
Fri, Apr 25, 1:52 PM
Unknown Object (File)
Wed, Apr 23, 12:57 AM
Unknown Object (File)
Wed, Apr 23, 12:57 AM
Unknown Object (File)
Wed, Apr 23, 12:57 AM
Unknown Object (File)
Wed, Apr 23, 12:57 AM
Unknown Object (File)
Wed, Apr 23, 12:57 AM
Unknown Object (File)
Sat, Apr 19, 11:42 AM
Unknown Object (File)
Fri, Apr 18, 10:10 PM
Subscribers

Details

Reviewers
gnn
domagoj.stolfa_gmail.com
Group Reviewers
DTrace
Summary

I noticed that when a script triggers drops, it generates some nonsense
output when it exits, e.g., "4 -1 dtrace INTERNAL INTERNAL DROP". I
believe this is because dt_oformat_drop() is only supposed to be called
when structured output is enabled.

Fixes: 93f27766a7e1 ("dtrace: Add the 'oformat' libdtrace option")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63528
Build 60412: arc lint + arc unit