Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
F85471589: D44267.id135507.diff
Thu, Jun 6, 2:18 PM
Unknown Object (File)
Mon, Jun 3, 6:11 AM
Unknown Object (File)
Mon, May 27, 8:40 PM
Unknown Object (File)
Mon, May 27, 6:47 PM
Unknown Object (File)
Sat, May 25, 4:13 PM
Unknown Object (File)
Wed, May 22, 2:20 PM
Unknown Object (File)
Tue, May 21, 7:42 PM
Unknown Object (File)
Sun, May 12, 1:59 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