From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>, Matt Porter <porter@cox.net>,
"David S. Miller" <davem@redhat.com>,
giduru@yahoo.com, Andre Hedrick <andre@linux-ide.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: The end of embedded Linux?
Date: Mon, 7 Oct 2002 21:06:33 -0300 [thread overview]
Message-ID: <20021008000632.GO3485@conectiva.com.br> (raw)
In-Reply-To: <20021007234733.GN3485@conectiva.com.br>
Em Mon, Oct 07, 2002 at 08:47:33PM -0300, Arnaldo C. Melo escreveu:
> Em Tue, Oct 08, 2002 at 12:23:27AM +0100, Alan Cox escreveu:
> > On Tue, 2002-10-08 at 00:01, Arnaldo Carvalho de Melo wrote:
> > to tweak
> > > > the values exactly how we want in a specific application. The tweaking
> > > > options can be buried under advanced kernel options with the appropriate
> > > > disclaimers about shooting yourself in the foot.
> > > That is how I think it should be done, yes.
> > Submitting dprintk() seems like a great starting point. I've also got
> > some patches in the archive someone sent that allows you to configure
> > out the #! exec stuff
> Ok, will do that in the next days.
Ok, so what do you think of a include/linux/debug.h
and a CONFIG_DEBUG_MESSAGES
and in debug.h:
#ifdef CONFIG_DEBUG_MESSAGES
#define dprintk printk(KERN_DEBUG.....) /* find the best of the 1001 variants
already in the tree */
#else
#define dprintk(.....)
#endif
and in drivers currently using dprintk (and in others that want to start using
it instead of homebrew equivalent macros):
#include <linux/debug.h>
...happily use dprintk...
and the default kernel config would just disable (or other sane default agreed
here) so, assuming it is disabled it'd be easy to enable it on a per source
code file, doing this:
#include <other_includes>
#define CONFIG_DEBUG_MESSAGES
#include <linux/debug.h>
Would this be acceptable? Ah, all of the above is quickly hacked pseudocode 8)
- Arnaldo
next prev parent reply other threads:[~2002-10-08 0:01 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-05 19:36 The end of embedded Linux? Gigi Duru
2002-10-05 19:46 ` Francois Romieu
2002-10-05 19:49 ` Ben Greear
2002-10-05 19:53 ` Andre Hedrick
2002-10-05 20:52 ` Gigi Duru
2002-10-05 20:58 ` Mark Mielke
2002-10-06 1:54 ` Andre Hedrick
2002-10-07 23:28 ` Gigi Duru
2002-10-06 0:46 ` Rik van Riel
2002-10-06 1:52 ` Andre Hedrick
2002-10-06 20:20 ` Gigi Duru
2002-10-07 2:01 ` Andre Hedrick
2002-10-06 4:28 ` David S. Miller
2002-10-06 16:53 ` Alan Cox
2002-10-06 18:50 ` george anzinger
2002-10-07 10:06 ` simon
2002-10-07 10:36 ` David S. Miller
2002-10-07 11:57 ` Russell King
2002-10-07 12:10 ` Abraham vd Merwe
2002-10-07 14:12 ` Alan Cox
2002-10-07 16:05 ` Nicolas Pitre
2002-10-07 16:02 ` David S. Miller
2002-10-07 16:20 ` Benjamin LaHaise
2002-10-07 16:38 ` Nicolas Pitre
2002-10-07 16:53 ` Mark Mielke
2002-10-07 17:45 ` Nicolas Pitre
2002-10-07 18:11 ` Richard B. Johnson
2002-10-07 18:54 ` george anzinger
2002-10-07 19:11 ` Russell King
2002-10-07 20:05 ` Ben Greear
2002-10-12 10:08 ` Richard Zidlicky
2002-10-14 12:26 ` Richard Zidlicky
2002-10-07 17:15 ` simon
2002-10-07 17:24 ` David S. Miller
2002-10-07 20:22 ` Alan Cox
2002-10-07 22:22 ` Christer Weinigel
2002-10-07 22:52 ` Alan Cox
2002-10-07 22:56 ` Arnaldo Carvalho de Melo
2002-10-09 11:19 ` Jamie Lokier
2002-10-08 10:11 ` simon
2002-10-08 11:11 ` jbradford
2002-10-08 11:53 ` Richard B. Johnson
2002-10-08 12:09 ` jbradford
2002-10-08 11:25 ` Vojtech Pavlik
2002-10-08 11:25 ` Alan Cox
2002-10-08 20:04 ` David S. Miller
2002-10-08 22:53 ` Alan Cox
2002-10-08 22:38 ` David S. Miller
2002-10-08 11:27 ` jw schultz
2002-10-09 7:37 ` Alexander Kellett
2002-10-09 11:49 ` Alan Cox
2002-10-09 11:53 ` Richard B. Johnson
2002-10-09 19:17 ` jbradford
2002-10-09 23:49 ` jw schultz
2002-10-13 16:30 ` Eric W. Biederman
2002-10-09 12:42 ` Ian Molton
2002-10-10 4:47 ` Shane Nay
2002-10-08 15:52 ` David Lang
2002-10-09 10:53 ` David Woodhouse
2002-10-07 10:55 ` Xavier Bestel
2002-10-07 17:20 ` simon
2002-10-07 22:59 ` Arnaldo Carvalho de Melo
2002-10-07 23:18 ` Alan Cox
2002-10-07 16:15 ` Matt Porter
2002-10-07 16:22 ` Matt Porter
2002-10-07 16:41 ` Rob Landley
2002-10-07 21:56 ` Gigi Duru
2002-10-07 19:44 ` Rob Landley
2002-10-08 13:22 ` Thomas Molina
2002-10-08 16:34 ` Rob Landley
2002-10-07 23:20 ` Matt Porter
2002-10-07 19:50 ` Rob Landley
2002-10-08 15:04 ` Matt Porter
2002-10-08 16:52 ` Rob Landley
2002-10-09 11:38 ` Adrian Bunk
2002-10-09 12:15 ` [patch] show Fusion MPT dialog only when CONFIG_BLK_DEV_SD is set Adrian Bunk
2002-10-09 19:55 ` Rob Landley
2002-10-09 19:54 ` [PATCH]: Move Fusion MPT config menu into scsi driver support (was Re: The end of embedded Linux?) Rob Landley
2002-10-07 23:01 ` The end of embedded Linux? Arnaldo Carvalho de Melo
2002-10-07 23:23 ` Alan Cox
2002-10-07 23:47 ` Arnaldo Carvalho de Melo
2002-10-08 0:06 ` Arnaldo Carvalho de Melo [this message]
2002-10-08 1:23 ` Xcytame@yahoo.es
2002-10-06 13:02 ` Ian Molton
2002-10-05 19:53 ` jbradford
2002-10-05 22:23 ` Oliver Xymoron
2002-10-05 23:28 ` Arnaldo Carvalho de Melo
2002-10-06 1:57 ` Andre Hedrick
2002-10-12 4:01 ` Daniel Phillips
2002-10-12 4:09 ` William Lee Irwin III
2002-10-06 0:36 ` Rik van Riel
2002-10-06 0:41 ` Zwane Mwaikambo
2002-10-06 0:50 ` William Lee Irwin III
2002-10-06 1:00 ` Zwane Mwaikambo
2002-10-06 0:44 ` William Lee Irwin III
2002-10-06 22:24 ` Aaron Lehmann
2002-10-06 22:54 ` William Lee Irwin III
2002-10-07 1:33 ` Andre Hedrick
2002-10-07 22:25 ` Andre Hedrick
2002-10-07 9:10 ` Jan-Benedict Glaw
[not found] <Pine.LNX.4.33.0210061854190.24860-100000@coffee.psychology.mcmaster.ca>
2002-10-07 5:38 ` Gigi Duru
2002-10-07 5:42 ` Rik van Riel
2002-10-07 6:06 ` Arnaldo Carvalho de Melo
2002-10-07 12:04 ` Richard B. Johnson
2002-10-07 12:00 ` David S. Miller
2002-10-07 12:32 ` Richard B. Johnson
2002-10-07 12:29 ` David S. Miller
2002-10-07 13:06 ` Dana Lacoste
-- strict thread matches above, loose matches on Subject: below --
2002-10-07 20:04 Hell.Surfers
2002-10-07 23:01 ` David S. Miller
2002-10-08 0:10 ` jw schultz
2002-10-08 9:36 Hell.Surfers
2002-10-08 9:51 Hell.Surfers
2002-10-08 20:00 ` David S. Miller
2002-10-08 12:05 Hicks, Jamey
2002-10-12 20:45 Hell.Surfers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021008000632.GO3485@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andre@linux-ide.org \
--cc=davem@redhat.com \
--cc=giduru@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=porter@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox