Subject: Re: standard DPRINTF
To: None <plunky@rya-online.net>
From: ITOH Yasufumi <itohy@netbsd.org>
List: tech-kern
Date: 03/30/2007 21:37:12
In article <1175113854.539303.717.nullmailer@galant.ukfsn.org>
plunky@rya-online.net writes:
> On Wed, 28 Mar 2007, ITOH Yasufumi wrote:
>
> > Hello,
> >
> > In article <1175027504.716736.1914.nullmailer@galant.ukfsn.org>
> > plunky@rya-online.net writes:
> >
> > > I think this standardized DPRINTF API is in some kind of shape now, any
> > > objections or comments?
> >
> > I think the names DEBUG* and DPRINT* are too generic.
> > Please use different names to avoid unnecessary conflicts with other's code.
>
> surely the point of DPRINT is that it *is* generic? many places in the
> code already use this, and I would intend to convert them to use
> <sys/debug.h> when I can. So far as I can tell, there is no conflict, none
> of the code that uses DPRINTF currently includes <sys/debug.h>
IMO, converting to and from <sys/debug.h> is waste of people's power.
BSDs share some portion of code, and if someone uses <sys/debug.h>
importing and exporting source code requires extra work.
We don't have enough persons' power, say, compated with Linux,
I don't think wasting power is a good idea.
If you are proposing common debugging API for all BSDs, I would
appreciate it. That probably saves our time.
Just in my opinion.
--
ITOH Yasufumi