Is there printk() in FreeBSD?
Krassimir Slavchev
krassi at bulinfo.net
Tue May 12 12:06:19 UTC 2009
-----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-----
More information about the freebsd-current
mailing list