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)
Thu, Nov 27, 8:50 AM
Unknown Object (File)
Tue, Nov 25, 4:42 PM
Unknown Object (File)
Sat, Nov 22, 9:52 PM
Unknown Object (File)
Sat, Nov 22, 9:52 PM
Unknown Object (File)
Sat, Nov 22, 9:52 PM
Unknown Object (File)
Sat, Nov 22, 9:47 PM
Unknown Object (File)
Nov 1 2025, 7:36 AM
Unknown Object (File)
Oct 30 2025, 4:54 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