All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] I-Pipe Tracer and linux ftrace
@ 2015-06-22 16:06 Antoine Durand
  2015-06-22 17:20 ` Jan Kiszka
  0 siblings, 1 reply; 21+ messages in thread
From: Antoine Durand @ 2015-06-22 16:06 UTC (permalink / raw)
  To: xenomai

Hi,

I would like to check my RT threads scheduling, so I started here :
http://xenomai.org/2014/06/using-the-i-pipe-tracer/

I put 100000 in /proc/ipipe/trace/back_trace_points
I ran my tasks, i write 1 in frozen, and then I read the frozen file.

I'm not sure what kind of datas can be found in I-Pipe Tracer
(/proc/ipipe/trace/frozen) and what is in linux ftrace
(/sys/kernel/debug/tracing). For instance, I "think" I'm interested in the
__xnsched_run trace points, but there isn't informations about the CPU on
which the task is running on in I-Pipe tracer output.

So I checked in linux ftrace.

But when i activate linux ftrace by writing 1 to
/sys/kernel/debug/tracing/tracing_on, the RT tasks behaviors became weird
(the task with the higher priority just toggle an output that I check on an
oscilloscope, this task is unable to make a clean 10ms periodic square
signal with tracing_on activated !).

so I did not find any source to be able to observe my tasks without
crippling side effect.

So here are my questions !



Are linux ftrace datas relevant for xenomai tasks (there is a lot of
cobalt_core entries so I guess yes) ?

Is there any tool to plot I-Pipe tracer datas from /proc/ipipe/trace/frozen
?
(I tried to use trace-cmd and kernelshark to plot linux ftrace but if what
is ploted is true, the side effect with xenomai is awful !)

What datas must be checked from I-Pipe Tracer and what must be checked from
linux ftrace ?



That's a lot of questions in one, I'm sorry, it's more that I'am a bit lost.

Thank you for your help.

Bob

x86_64
linux-3.16.7
xenomai-3.0-rc4 with I-Pipe tracer Options On

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

end of thread, other threads:[~2015-06-24  7:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-22 16:06 [Xenomai] I-Pipe Tracer and linux ftrace Antoine Durand
2015-06-22 17:20 ` Jan Kiszka
2015-06-22 20:47   ` Antoine Durand
2015-06-23  6:19     ` Jan Kiszka
2015-06-23 10:09       ` Antoine Durand
2015-06-23 14:11         ` Lennart Sorensen
2015-06-23 14:15           ` Jan Kiszka
2015-06-23 14:27             ` Gilles Chanteperdrix
2015-06-23 14:41               ` Antoine Durand
2015-06-23 14:43                 ` Jan Kiszka
2015-06-23 14:46                 ` Gilles Chanteperdrix
2015-06-23 14:47                   ` Antoine Durand
2015-06-23 14:49                     ` Gilles Chanteperdrix
2015-06-23 14:59                       ` Jan Kiszka
2015-06-23 15:01                       ` Antoine Durand
2015-06-23 16:07                 ` Lennart Sorensen
2015-06-23 16:18                   ` Antoine Durand
2015-06-23 17:00                     ` Jan Kiszka
2015-06-23 17:23                       ` Jan Kiszka
2015-06-24  7:30                         ` Antoine Durand
     [not found]             ` <CAOL1OyNELX_6g8fOSS8wuJ+6-TzrBXjoxn3wH-Gb8u-HKHFqSw@mail.gmail.com>
2015-06-23 14:42               ` Jan Kiszka

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.