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)
Sat, Aug 22, 8:43 AM
Unknown Object (File)
Fri, Aug 21, 4:55 PM
Unknown Object (File)
Fri, Aug 21, 1:15 PM
Unknown Object (File)
Thu, Aug 20, 7:51 PM
Unknown Object (File)
Wed, Aug 19, 10:40 PM
Unknown Object (File)
Wed, Aug 19, 4:31 PM
Unknown Object (File)
Wed, Aug 19, 11:44 AM
Unknown Object (File)
Tue, Aug 18, 8:03 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 Not Applicable
Unit
Tests Not Applicable