mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* latency tracing in mainline or rt
@ 2010-09-24 16:14 Jack Daniel
  2010-09-24 16:26 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Daniel @ 2010-09-24 16:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, Jiri Olsa, rostedt, fweisbec

Hi,

Can some one tell me the difference between Latency tracing that's
here http://people.redhat.com/mingo/latency-tracing-patches/ and the
tracing supported in the RT kernel here
http://www.kernel.org/pub/linux/kernel/projects/rt/ ? What's the
status of the present latency tracing and its documentation. Does
Ftrace override these with its superior tracing? Any help is highly
appreciated.


Regards,
Jack

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

* Re: latency tracing in mainline or rt
  2010-09-24 16:14 latency tracing in mainline or rt Jack Daniel
@ 2010-09-24 16:26 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2010-09-24 16:26 UTC (permalink / raw)
  To: Jack Daniel; +Cc: linux-kernel, mingo, Jiri Olsa, fweisbec

On Fri, 2010-09-24 at 21:44 +0530, Jack Daniel wrote:
> Hi,
> 
> Can some one tell me the difference between Latency tracing that's
> here http://people.redhat.com/mingo/latency-tracing-patches/ and the
> tracing supported in the RT kernel here
> http://www.kernel.org/pub/linux/kernel/projects/rt/ ? What's the
> status of the present latency tracing and its documentation. Does
> Ftrace override these with its superior tracing? Any help is highly
> appreciated.

Ftrace was derived from two projects. One was my own logdev, and the
other was Ingo's latency tracing patches. The irq/preempt off tracers
still hold some of the code from the latency tracing patches practically
untouched.

With the old latency tracing patches, to enable or disable the tracing
feature, you had to change a config option and recompile the kernel.

With ftrace, you only need to 

  echo irqsoff > /sys/kernel/debug/current_tracer

to enable irqsoff tracing (the latency of the kernel where it disables
interrupts).

Please read the documentation in the kernel source
Documentation/trace/ftrace.txt.

To answer your questions, ftrace is really just latency-tracing next
generation ;-)

-- Steve



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

end of thread, other threads:[~2010-09-24 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-24 16:14 latency tracing in mainline or rt Jack Daniel
2010-09-24 16:26 ` Steven Rostedt

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®