All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Steinke <benjamin.steinke@woks-audio.com>
To: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>,
	"linux-trace-devel@vger.kernel.org" 
	<linux-trace-devel@vger.kernel.org>
Subject: Re: stopping ftrace on event
Date: Wed, 6 Jul 2022 13:51:06 +0200	[thread overview]
Message-ID: <5900013.0QKTdidtKr@desktop> (raw)
In-Reply-To: <c8aa45af-9a64-8318-71d6-91511afed8e6@redhat.com>

Am Mittwoch, 6. Juli 2022, 13:31:00 CEST schrieb Daniel Bristot de Oliveira:
> On 7/6/22 10:50, Benjamin Steinke wrote:
> > Hi all,
> > 
> > I'm hunting sporadic high irq-handler latencies in a pcie driver by using
> > ftrace. I'm currently using trace-cmd record but get way to large files
> > due to the event being so infrequent.
> > 
> > Is there a way to stop tracing or dump the current trace buffer when a
> > specific event occurs?
> 
> https://www.kernel.org/doc/html/latest/trace/events.html#event-triggers ?

Oh, didn't see the forest for the trees. I probably scrolled a number of times 
over this section. Thanks a lot. 

> 
> -- Daniel
> 
> > Thanks for your help,
> > Benjamin





      reply	other threads:[~2022-07-06 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06  8:50 stopping ftrace on event Benjamin Steinke
2022-07-06 11:31 ` Daniel Bristot de Oliveira
2022-07-06 11:51   ` Benjamin Steinke [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=5900013.0QKTdidtKr@desktop \
    --to=benjamin.steinke@woks-audio.com \
    --cc=bristot@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux-trace-devel@vger.kernel.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 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.