public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Christer Weinigel <christer@weinigel.se>,
	simon@baydel.com, "David S. Miller" <davem@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: The end of embedded Linux?
Date: Mon, 7 Oct 2002 19:56:21 -0300	[thread overview]
Message-ID: <20021007225621.GG3485@conectiva.com.br> (raw)
In-Reply-To: <1034031138.26473.40.camel@irongate.swansea.linux.org.uk>

Em Mon, Oct 07, 2002 at 11:52:18PM +0100, Alan Cox escreveu:
> On Mon, 2002-10-07 at 23:22, Christer Weinigel wrote:
> > #define printk_debug(xxx...) printk(KERN_DEBUG, xxx...)
> > #define printk_info(xxx...) printk(KERN_INFO, xx...)
> > #else
> > #define printk_debug(xxx...) do { } while (0)
> > #define printk_info(xxx...) do { } while (0)
> 
> That might make a lot of sense. The macros in question would need a bit
> of hand checking for side effects in calls but yes this is the kind of
> thing that can be good

Humm, dprintk is perhaps the most widely used of this kind of stuff,
i.e. debug only printks that should be disabled when in production,
standardising on what is common practice and adding a iprintk could be
something we should consider.

- Arnaldo

  reply	other threads:[~2002-10-07 22:51 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 [this message]
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
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=20021007225621.GG3485@conectiva.com.br \
    --to=acme@conectiva.com.br \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=christer@weinigel.se \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=simon@baydel.com \
    /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