On 03/01/2012 08:20 PM, Makarand Pradhan wrote:
> Hi,
> 
> I am trying to get an ipipe trace and need help to get it working.
> 
> I am using Xenomai 2.6 with linux 3.0.0.
> 
> The kernel is compiled with following config parameters:
> 
> CONFIG_IPIPE_DEBUG=y
> CONFIG_IPIPE_DEBUG_CONTEXT=y
> CONFIG_IPIPE_DEBUG_INTERNAL=y
> CONFIG_IPIPE_TRACE=y
> CONFIG_IPIPE_TRACE_ENABLE=y
> CONFIG_IPIPE_TRACE_MCOUNT=y
> CONFIG_IPIPE_TRACE_IRQSOFF=y
> CONFIG_IPIPE_TRACE_SHIFT=14
> CONFIG_IPIPE_TRACE_VMALLOC=y
> CONFIG_IPIPE_TRACE_PANIC=y
> CONFIG_DEBUG_KERNEL=y
> 
> The /proc/ipipe direcotry is created.
> 
> In my application I am using:
> 
> xntrace_max_begin(0); -> To start tracing.
> xntrace_max_end(0);   -> To stop tracing.
> 
> The function trace that I get in the /proc/ipipe/trace/max file does not 
> have the xenomai calls that I am invoking e.g. rt_timer_read.

The I-pipe tracer is a kernel-space tracer, so, you will only get the
trace for the services which emit a system call. So, when calling
rt_timer_read, you should see __rt_timer_read in the trace.

You can find all the documentation we have about the I-pipe tracer here:
http://www.xenomai.org/index.php/I-pipe:Tracer

-- 
                                                                Gilles.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to