HomeFreeBSD

dtrace: remove unnecessary fflush()

Description

dtrace: remove unnecessary fflush()

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
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D34216

Details

Provenance
chsAuthored on Feb 10 2022, 1:09 AM
Reviewer
imp
Differential Revision
D34216: dtrace: remove unnecessary fflush()
Parents
rG8dc42f980473: Invert CPU arch test for LLDB default
Branches
Unknown
Tags
Unknown