Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 7, 5:47 AM
Unknown Object (File)
Wed, Oct 7, 2:21 AM
Unknown Object (File)
Wed, Oct 7, 12:43 AM
Unknown Object (File)
Tue, Sep 29, 5:43 PM
Unknown Object (File)
Fri, Sep 11, 6:12 AM
Unknown Object (File)
Wed, Sep 9, 12:37 PM
Unknown Object (File)
Sep 6 2026, 10:52 AM
Unknown Object (File)
Sep 6 2026, 3:43 AM
Subscribers

Details

Summary

If the call to clknode_get_freq() returns an error (unlikely), report
this, rather than printing the error code as the clock frequency.

If the clock has no parent (e.g. a fixed reference clock), print "none"
rather than "(NULL)(-1)". This is a more human-legible presentation of the
same information.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56498
Build 53386: arc lint + arc unit