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)
Sun, Sep 6, 10:52 AM
Unknown Object (File)
Sun, Sep 6, 3:43 AM
Unknown Object (File)
Sat, Sep 5, 3:16 PM
Unknown Object (File)
Sat, Sep 5, 3:02 PM
Unknown Object (File)
Sat, Sep 5, 10:49 AM
Unknown Object (File)
Thu, Sep 3, 7:32 PM
Unknown Object (File)
Thu, Sep 3, 3:14 PM
Unknown Object (File)
Tue, Sep 1, 6:48 PM
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