public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frederic Weisbecker <fweisbec@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Lai Jiangshan <laijs@cn.fujitsu.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5 v2] Binary ftrace_printk
Date: Fri, 6 Mar 2009 13:08:03 +0100	[thread overview]
Message-ID: <20090306120802.GC5988@nowhere> (raw)
In-Reply-To: <20090306115822.GB18798@elte.hu>

On Fri, Mar 06, 2009 at 12:58:22PM +0100, Ingo Molnar wrote:
> 
> * Frederic Weisbecker <fweisbec@gmail.com> wrote:
> 
> > On Thu, Mar 05, 2009 at 05:53:58AM +0100, Frederic Weisbecker wrote:
> > > 
> > > This new iteration addresses Steven's reviews.
> > > Notably:
> > > 
> > > - only build the ftrace_printk format section if CONFIG_TRACING is set
> > > - be scheduler tracing safe (don't use preempt_enable directly from
> > >   ftrace_printk to avoid tracing recursion)
> > > - fix a loss of format string when a module is unloaded. Since we can loose
> > >   it on the ring-buffer if it is in overwrite mode, we don't keep track
> > >   of the format given by the modules to free them. We just copy their
> > >   ftrace_printk string format forever. Note that it is safe against duplicate
> > >   strings since we verify if the string is already present in our list before
> > >   allocating a new one.
> > > 
> > > ---
> > 
> > 
> > tip:master has seen some changes concerning the tracing bits 
> > since this patchset submission, notably the movement of 
> > ftrace_printk to include/kernel.h
> > 
> > These patches probably won't anymore apply properly. Do you 
> > want me to rebase them against latest tip/master?
> 
> Yeah, please do. (Would there be a way for you to submit via 
> tools that preserve the email-threading of the patches? Right 
> now your mails come in separate threads each.)


Ok, I will try that. Until now I used a very simple smtp client.
I will try git-send-mail.

 
> > Or perhaps you prefer to wait for a Acked-by from Linus or 
> > Andrew?
> 
> The current lineup looks pretty good to me.
> 
> Patch #1 is what modifies lib/vsprintf.c and unless Linus or 
> Andrew objects i plan to put that into tip:core/printk so that 
> it's not embedded in the tracing tree and sent upstream 
> separately.
> 
> Then i'll merge that branch into the tracing tree and apply 
> patches #2...#5. So as long as you send against tip:master (i.e. 
> against the latest tracing bits) i'll be able to sort it out 
> neatly.
> 
> 	Ingo


Ok.


      reply	other threads:[~2009-03-06 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05  4:53 [PATCH 0/5 v2] Binary ftrace_printk Frederic Weisbecker
2009-03-06 10:52 ` Frederic Weisbecker
2009-03-06 11:58   ` Ingo Molnar
2009-03-06 12:08     ` Frederic Weisbecker [this message]

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=20090306120802.GC5988@nowhere \
    --to=fweisbec@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=laijs@cn.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=torvalds@linux-foundation.org \
    /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