Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 25, 10:48 AM
Unknown Object (File)
Nov 28 2025, 7:33 AM
Unknown Object (File)
Nov 27 2025, 8:46 PM
Unknown Object (File)
Nov 25 2025, 4:53 AM
Unknown Object (File)
Nov 22 2025, 10:25 AM
Unknown Object (File)
Nov 21 2025, 6:12 PM
Unknown Object (File)
Nov 20 2025, 3:59 AM
Unknown Object (File)
Nov 14 2025, 8:18 PM
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