All of lore.kernel.org
 help / color / mirror / Atom feed
* stopping ftrace on event
@ 2022-07-06  8:50 Benjamin Steinke
  2022-07-06 11:31 ` Daniel Bristot de Oliveira
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Steinke @ 2022-07-06  8:50 UTC (permalink / raw)
  To: linux-rt-users

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?

Thanks for your help,
Benjamin





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

* Re: stopping ftrace on event
  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
  0 siblings, 1 reply; 3+ 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

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] 3+ messages in thread

* Re: stopping ftrace on event
  2022-07-06 11:31 ` Daniel Bristot de Oliveira
@ 2022-07-06 11:51   ` Benjamin Steinke
  0 siblings, 0 replies; 3+ 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

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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.