On 02/25/2014 09:21 PM, Gregory Dymarek wrote:
> I should have added more context.
> 
> I'm sure I recompiled the kernel correctly with CONFIG_IPIPE_TRACE
> Because, when I unplug my USB device i get the ipipe trace now instead of
> default kernel panic.
> 
> Adding ipipe_trace_freeze to irq/handle.c:146 does not seem to trigger the
> trace. Even if I define it in the main code block (without if statement)
> this prints nothing. Could this be that a early printk is needed or some
> other similar ipipe respective routine?

The tracer only dumps the trace in case of panic, because in case of
panic, there is no way to dump the trace. But in the usual case, the
frozen trace can be dumped (preferably to a file) with

cat /proc/ipipe/frozen

> 
> Is there another way of tracing the issue down?

Really, the tracer is probably the best tool for the job.


-- 
                                                                Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to