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)
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
Unknown Object (File)
Apr 28 2024, 10:12 PM
Unknown Object (File)
Apr 27 2024, 8:40 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