-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can use printf or device_printf. See man 9 device_printf 崔岩ccuiyyan_at_sina.com wrote: > Dear all; > > A simple question: sometimes i need to print out some kernel > > address in FreeBSD kernel. And i know printk() can be used in > > Linux to print the message to dmesg, Is there some similar in > FreeBSD? > > It seems that printk() cannot work in the FreeBSD kernel. And > > where can we find the output? in dmesg or somewhere else? > > Best Wishes! > > Yan > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFKCWHRxJBWvpalMpkRAu41AJ4x9mI2AHvgAyn16fY8OB7LEnuMBACgo+XJ S/FaTNIouZtd/LsTa2t6lAw= =D4TH -----END PGP SIGNATURE-----Received on Tue May 12 2009 - 10:06:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC