Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
F152694971: D44267.id135507.diff
Thu, Apr 16, 1:44 PM
Unknown Object (File)
Mon, Apr 6, 3:36 PM
Unknown Object (File)
Mon, Apr 6, 6:15 AM
Unknown Object (File)
Sun, Apr 5, 4:38 PM
Unknown Object (File)
Sun, Mar 29, 8:53 AM
Unknown Object (File)
Sat, Mar 28, 7:03 PM
Unknown Object (File)
Thu, Mar 19, 5:51 AM
Unknown Object (File)
Mar 16 2026, 9:16 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 Not Applicable
Unit
Tests Not Applicable