Page MenuHomeFreeBSD

dtrace: remove unnecessary fflush()
ClosedPublic

Authored by chs on Feb 8 2022, 11:40 PM.
Tags
None
Referenced Files
F137718115: D34216.id.diff
Tue, Nov 25, 4:53 AM
Unknown Object (File)
Sat, Nov 22, 10:25 AM
Unknown Object (File)
Fri, Nov 21, 6:12 PM
Unknown Object (File)
Thu, Nov 20, 3:59 AM
Unknown Object (File)
Fri, Nov 14, 8:18 PM
Unknown Object (File)
Fri, Nov 14, 8:18 PM
Unknown Object (File)
Fri, Nov 14, 8:16 PM
Unknown Object (File)
Mon, Nov 10, 2:31 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