linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: stopping ftrace on event
       [not found] <4044532.36S9Iv5CRb@desktop>
@ 2022-07-06 11:31 ` Daniel Bristot de Oliveira
  2022-07-06 11:51   ` Benjamin Steinke
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Bristot de Oliveira @ 2022-07-06 11:31 UTC (permalink / raw)
  To: Benjamin Steinke; +Cc: linux-rt-users, linux-trace-devel@vger.kernel.org

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 ?

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stopping ftrace on event
  2022-07-06 11:31 ` stopping ftrace on event Daniel Bristot de Oliveira
@ 2022-07-06 11:51   ` Benjamin Steinke
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Steinke @ 2022-07-06 11:51 UTC (permalink / raw)
  To: Daniel Bristot de Oliveira
  Cc: linux-rt-users, linux-trace-devel@vger.kernel.org

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-06 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4044532.36S9Iv5CRb@desktop>
2022-07-06 11:31 ` stopping ftrace on event Daniel Bristot de Oliveira
2022-07-06 11:51   ` Benjamin Steinke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).