Page MenuHomeFreeBSD

libdtrace: Don't try to unput a nul terminator
AbandonedPublic

Authored by markj on Feb 11 2021, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 29, 6:55 AM
Unknown Object (File)
Sun, Nov 16, 11:47 AM
Unknown Object (File)
Sat, Nov 8, 1:40 AM
Unknown Object (File)
Oct 28 2025, 5:15 PM
Unknown Object (File)
Oct 28 2025, 7:16 AM
Unknown Object (File)
Oct 15 2025, 3:18 AM
Unknown Object (File)
Oct 6 2025, 1:47 AM
Unknown Object (File)
Sep 28 2025, 5:59 AM
Subscribers

Details

Reviewers
rstone
Summary

input() returns 0 to indicate EOF conditions, not EOF.

This fixes most instances of unknown argument types showing up in dtrace
-lv output. The rest seem to be related to duplicate type names. For
instance, if I run 'dtrace -lv -n fbt:::entry', on my system dtrace
fails to resolve the first parameter to
fbt::vm_pageout_reinsert_inactive:entry.
If I list the parameters for that probe specifically, it works, so it's
not as severe a bug.

Diff Detail

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