[openib-general] [PATCH] core_cache.c: Eliminate use of ts_kernel_[services trace].h

Grant Grundler iod00d at hp.com
Fri Sep 17 23:10:51 PDT 2004


On Fri, Sep 17, 2004 at 05:44:57PM -0700, Roland Dreier wrote:
> Thanks, however I haven't been cleaning things up this way because
> changes like this:
> 
>     > -	TS_TRACE(MOD_KERNEL_IB, T_VERY_VERBOSE, TRACE_KERNEL_IB_GEN,
>     > -		 "Updating cached port info for %s port %d",
>     > +	printk(KERN_DEBUG
>     > +       		"Updating cached port info for %s port %d",
> 
> mean that we spew debugging output without any way of turning it off.

not true. We've gone round on this issue on the linux-ia64
mailing list in regard to misaligned accesses causing console output.
I don't have a URL handy.
The conclusion was it's pretty simple to filter console output
based on priority levels.

This doesn't mean every message is relevant - just we have high level
tools to filter them.

grant



More information about the general mailing list