mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH][GIT PULL] ftrace: add kernel command line function filtering
Date: Thu, 28 May 2009 22:54:34 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0905282251590.3397@localhost.localdomain> (raw)
In-Reply-To: <alpine.DEB.2.00.0905281420590.11238@gandalf.stny.rr.com>

On Thu, 28 May 2009, Steven Rostedt wrote:
> ----
>  Documentation/kernel-parameters.txt |   17 ++++++++++++-
>  kernel/trace/ftrace.c               |   42 +++++++++++++++++++++++++++++++++++
>  2 files changed, 57 insertions(+), 2 deletions(-)
> ---------------------------
> commit 3481535dc7351d3a45f67d8016bd78fc5c537628
> Author: Steven Rostedt <srostedt@redhat.com>
> Date:   Thu May 28 13:37:24 2009 -0400
> 
>     ftrace: add kernel command line function filtering
>     
>     When using ftrace=function on the command line to trace functions
>     on boot up, one can not filter out functions that are commonly called.
>     
>     This patch adds two new ftrace command line commands.
>     
>       ftrace_notrace=function-list
>       ftrace_filter=function-list
>     
>     Where function-list is a comma separated list of functions to filter.
>     The ftrace_notrace will make the functions listed not be included
>     in the function tracing, and ftrace_filter will only trace the functions
>     listed.
>     
>     These two act the same as the debugfs/tracing/set_ftrace_notrace and
>     debugfs/tracing/set_ftrace_filter respectively.
>     
>     The simple glob expressions that are allowed by the filter files can also
>     be used by the command line interface.
>     
>     	ftrace_notrace=rcu*,*lock,*spin*
>     
>     Will not trace any function that starts with rcu, ends with lock, or has
>     the word spin in it.

 That's enough to filter out most of the annoyance during boot
     
>     Note, if the self tests are enabled, they may interfere with the filtering
>     set by the command lines.
>     
>     [ Imact: allow filtering of function tracing at boot up ]

 Is "Imact" an attempt to distract Linus ?

Thanks,

	tglx

      reply	other threads:[~2009-05-28 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 18:34 Steven Rostedt
2009-05-28 20:54 ` Thomas Gleixner [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=alpine.LFD.2.00.0905282251590.3397@localhost.localdomain \
    --to=tglx@linutronix.de \
    --cc=akpm@linux-foundation.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.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

all inboxes | Powered by JetHome®