[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adaocxqsngs.fsf@cisco.com>
Date: Wed, 28 Jan 2009 21:14:27 -0800
From: Roland Dreier <rdreier@...co.com>
To: Andy Grover <andy.grover@...cle.com>
Cc: rds-devel@....oracle.com, general@...ts.openfabrics.org,
netdev@...r.kernel.org
Subject: Re: [PATCH 20/21] RDS: Kconfig and Makefile
> So the solution is just to base debug message output on a variable,
> instead of a config option? RDS actually does do this a little already,
> so converting totally isn't hard. I hadn't seen mention this was
> preferable -- indeed, tons of drivers and subsystems have options for
> compile-time debug statements, should these be converted?
My experience is definitely that compile-time switches are a big pain
when you actually have to debug something that can only be reproduced on
someone else's setup (which will happen once users start using your
stuff). You probably can use the dynamic_printk stuff that went in
recently to make this all very clean and standard.
- R.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists