All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Frédéric Weisbecker" <fweisbec@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>,
	Steven Noonan <steven@uplinklabs.net>,
	Arjan van de Ven <arjan@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: [Patch -tip 0/4] Creation of the initcall tracer
Date: Tue, 23 Sep 2008 12:00:34 +0200	[thread overview]
Message-ID: <20080923100034.GA23118@elte.hu> (raw)
In-Reply-To: <48D8C516.4090706@gmail.com>


* Frédéric Weisbecker <fweisbec@gmail.com> wrote:

> This patchset is about the initcall tracer requested by Ingo Molnar. 
> It is supposed to replace the printk involved during fastboot if the 
> initcall_debug parameter has been selected.

that was fast! :)

i've created a new -tip topic for your new tracer: tip/tracing/fastboot. 
That topic is based on the tip/tracing/ftrace + tip/fastboot trees.

Note that i've done a couple of small changes to your patches:

 - i've done the following renames:

      :1,$s/INITCALL_TRACER/BOOT_TRACER/g
      :1,$s/trace_initcall/trace_boot/g
      :1,$s/initcall_trace/boot_trace/g

   the reasoning: we eventually want to extend this new tracer to all 
   things "bootup delay", not just initcalls - hence calling it an
   'initcall tracer' would be too limiting.

   The goal is to help the Arjan's fastboot project to achieve 5 seconds 
   to-GUI bootup times like this:

      http://www.youtube.com/watch?v=s7NxCM8ryF8

   [ Even if you know what a 5 seconds bootup is, you've got to check 
     this "From Naught to Sixty in 5 seconds" video ;-) ]

 - there were a few overlong lines in the commit logs and in the Kconfig 
   desciption - i fixed them up. You should check your email client and 
   your editor for line length settings - currently you seem to have no
   line breaks at all.

 - I also corrected a few capitalization things in commit subject lines 
   and corrected a few minor coding style errors - you can avoid these 
   by running scripts/checkpatch.pl over your patches. Nothing overly
   serious - but you should diff against tip/master to see what the 
   changes are.

> Currently this tracer is a test. Its output is not yet adapted for 
> scripts/bootgraph.pl which uses the old initcalls printk to produce a 
> graph. But since this tracer will output sched_switch and stack_trace, 
> we should first talk about the future output format of this tracer in 
> sync with bootgraph.pl
> 
> It currently not uses the sched_switch and stack_trace tracers since 
> related functions of insertion into the ring buffer perhaps need first 
> to be moved on their own tracer file. But it have to be discussed.
> 
> Note that you need the initcall_debug to enable this tracer. When 
> printk from initcall_debug will disappear, we could surely enable this 
> tracer by default without this parameter.
> 
> Old printk have been kept for backward compatibility.

yes, it's necessary to keep that backwards compatibility.

i've integrated tip/tracing/fastboot into tip/master and have started 
testing it. It passed the basic tests already so i've just pushed out 
the new tip/master. Please double-check that i have not messed up the 
rename or the integration somewhere.

all in one, nice stuff!

	Ingo

  reply	other threads:[~2008-09-23 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23 10:29 [Patch -tip 0/4] Creation of the initcall tracer Frédéric Weisbecker
2008-09-23 10:00 ` Ingo Molnar [this message]
2008-09-23 11:42   ` Frédéric Weisbecker
2008-09-23 19:31   ` Ingo Molnar
2008-09-24  9:36     ` Frédéric Weisbecker
2008-09-24  8:58       ` Ingo Molnar

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=20080923100034.GA23118@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=arjan@infradead.org \
    --cc=fweisbec@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=steven@uplinklabs.net \
    --cc=tglx@linutronix.de \
    /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.