KTR_SPAREx
Attilio Rao
attilio at freebsd.org
Tue Jun 5 20:14:04 UTC 2012
2012/6/5 Adrian Chadd <adrian at freebsd.org>:
> Hi,
>
> I'm very tempted to make if_ath use KTR_DEV, but then have an extra
> ath sysctl which does something like:
>
> if (sc->sc_ktr_enable)
> KTR();
But the actual problem is that your output will be overwhelmed by the
clutter of all the other KTR_DEV consumers.
We very much need an much higher granularity on KTR classes and
possibly a way to use it on-the-fly for kernel development and I think
what I suggested earlier makes sense.
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the freebsd-arch
mailing list