Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 3:18 AM
Unknown Object (File)
Mon, Mar 16, 11:57 PM
Unknown Object (File)
Fri, Mar 13, 12:04 PM
Unknown Object (File)
Thu, Mar 5, 9:27 PM
Unknown Object (File)
Feb 8 2026, 6:04 AM
Unknown Object (File)
Feb 7 2026, 7:14 PM
Unknown Object (File)
Jan 31 2026, 8:44 AM
Unknown Object (File)
Dec 25 2025, 10:48 AM
Subscribers

Details

Summary

This call was added back in the early days of dtrace porting and
no one knows why anymore. The extra flushing causes lots of
unnecessary CPU overhead when a script produces lots of output,
as well as easily losing output because the command can't keep up.

Sponsored by: Netflix

Diff Detail

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