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, May 22, 2:20 PM
Unknown Object (File)
Tue, May 21, 7:42 PM
Unknown Object (File)
Sun, May 12, 1:59 PM
Unknown Object (File)
Sun, Apr 28, 10:12 PM
Unknown Object (File)
Sat, Apr 27, 8:40 PM
Unknown Object (File)
Fri, Apr 26, 4:01 AM
Unknown Object (File)
Thu, Apr 25, 5:25 AM
Unknown Object (File)
Apr 19 2024, 2:52 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