Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
F132481961: D44267.id.diff
Fri, Oct 17, 7:13 AM
F132481952: D44267.id135507.diff
Fri, Oct 17, 7:13 AM
F132481946: D44267.id135547.diff
Fri, Oct 17, 7:13 AM
F132431987: D44267.diff
Thu, Oct 16, 9:37 PM
Unknown Object (File)
Thu, Oct 9, 9:43 PM
Unknown Object (File)
Sep 16 2025, 3:28 PM
Unknown Object (File)
Sep 16 2025, 2:10 PM
Unknown Object (File)
Sep 16 2025, 1:49 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