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
F174105709: D28603.id83726.diff
Wed, Sep 30, 4:20 PM
Unknown Object (File)
Mon, Sep 28, 8:24 PM
Unknown Object (File)
Thu, Sep 24, 2:59 AM
Unknown Object (File)
Aug 19 2026, 3:31 PM
Unknown Object (File)
Aug 18 2026, 3:25 AM
Unknown Object (File)
Aug 14 2026, 3:44 PM
Unknown Object (File)
Aug 12 2026, 11:16 AM
Unknown Object (File)
Aug 10 2026, 9:05 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