Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
F148628088: D44267.id135507.diff
Thu, Mar 19, 5:51 AM
Unknown Object (File)
Mon, Mar 16, 9:16 AM
Unknown Object (File)
Wed, Mar 11, 7:21 AM
Unknown Object (File)
Sun, Mar 8, 1:45 PM
Unknown Object (File)
Fri, Mar 6, 8:48 PM
Unknown Object (File)
Mon, Mar 2, 11:22 PM
Unknown Object (File)
Sun, Mar 1, 12:06 AM
Unknown Object (File)
Sat, Feb 28, 2:55 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