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)
Fri, May 15, 5:09 PM
Unknown Object (File)
Fri, May 15, 5:09 PM
Unknown Object (File)
Fri, May 15, 4:58 PM
Unknown Object (File)
Fri, May 15, 4:26 PM
Unknown Object (File)
Wed, May 13, 7:01 AM
Unknown Object (File)
Tue, May 12, 2:20 PM
Unknown Object (File)
Sat, May 2, 10:03 PM
Unknown Object (File)
Tue, Apr 28, 10:26 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