All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Matt Mackall <mpm@selenic.com>
Cc: Jeff Moyer <jmoyer@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: [patch] teach netconsole how to do syslog
Date: Sat, 26 Jun 2004 12:26:46 +1000	[thread overview]
Message-ID: <25929.1088216806@ocs3.ocs.com.au> (raw)
In-Reply-To: Your message of "Fri, 25 Jun 2004 14:11:01 EST." <20040625191101.GD25826@waste.org>

On Fri, 25 Jun 2004 14:11:01 -0500, 
Matt Mackall <mpm@selenic.com> wrote:
>Yep, we get one UDP packet per printk currently, which works for most
>things, but not everything. This could be changed to a buffered
>approach, but that breaks one of my favorite debugging techniques -
>adding an alphabet soup of single-character printks to trace tricky
>call paths. 
>
>So we could add a __printk that doesn't flush to outputs for stuff
>like the above, or just live with it.

Other way round.  Keep printk as is and use a buffered approach for
printk over netconsole.  netconsole gets complete lines which is what
you want 99.9% of the time.  Add __printk or printk_unbuffered for the
.1% of debugging output that really wants unbuffered output.


  reply	other threads:[~2004-06-26  2:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-25 17:57 [patch] teach netconsole how to do syslog Jeff Moyer
2004-06-25 18:39 ` Matt Mackall
2004-06-25 18:47   ` Jeff Moyer
2004-06-25 19:11     ` Matt Mackall
2004-06-26  2:26       ` Keith Owens [this message]
2004-06-26  3:48         ` Matt Mackall

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=25929.1088216806@ocs3.ocs.com.au \
    --to=kaos@ocs.com.au \
    --cc=jmoyer@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.