All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nivedita Singhvi <niv@us.ibm.com>
To: Clark Williams <williams@redhat.com>
Cc: RT <linux-rt-users@vger.kernel.org>,
	Steven Rostedt <srostedt@redhat.com>
Subject: Re: proposed change to cyclictest -b <n> behavior
Date: Thu, 18 Aug 2011 11:37:19 -0700	[thread overview]
Message-ID: <4E4D5BDF.2040605@us.ibm.com> (raw)
In-Reply-To: <20110818123717.2ff10c06@redhat.com>

Clark Williams wrote:
> All,
> 
> I was updating cyclictest in the rt-tests package to handle the 3.0-rt
> kernel changes and was talking to Steven Rostedt about ftrace options
> and he suggested this change to the -b (breaktrace) option: use event
> tracing rather than function tracing by default. 
> 
> The default for -b is to enable the function tracer. What Steven is
> suggesting is to trace using the already installed tracepoints to get
> an idea of where a latency occurs, rather than incurring the function
> tracer (mcount) overhead by default. This is equivalent to doing:
> 
> # cyclictest -b 1000 --event --tracer=nop
> 
> I like the idea, but wanted to ask the cyclictest users if this would
> break anything. I actually think that the whole ftrace interface for
> cyclictest needs to be overhauled, since it was done very ad hoc and is
> not all that well thought out, but I'm not quite ready to take that on
> now. 
> 
> So, anyone object to me making this change?


This sounds good to me. I'd prefer not to incur the extra
unnecessary overhead, too.

thanks,
Nivedita





      reply	other threads:[~2011-08-18 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 17:37 proposed change to cyclictest -b <n> behavior Clark Williams
2011-08-18 18:37 ` Nivedita Singhvi [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=4E4D5BDF.2040605@us.ibm.com \
    --to=niv@us.ibm.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=srostedt@redhat.com \
    --cc=williams@redhat.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.