* [Xenomai] Rtdm driver debugging techniques.
[not found] <CADULeAbdKdwKp_3kvHkAc9YYKFFUo7mr2qqmLJ5Ok3XeeiTQAQ@mail.gmail.com>
@ 2012-06-12 4:59 ` mohammad khalid shaik
2012-06-12 18:37 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: mohammad khalid shaik @ 2012-06-12 4:59 UTC (permalink / raw)
To: xenomai
I have a question related to debugging techniques used in xenomai.
I have a pcan-pci rtdm driver which i would like to debug in xenomai
environment.
Can any one let me know what are all techniques available for debugging
rtdm drivers in xenomai?
Regards,
Khalid
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] Rtdm driver debugging techniques.
2012-06-12 4:59 ` [Xenomai] Rtdm driver debugging techniques mohammad khalid shaik
@ 2012-06-12 18:37 ` Gilles Chanteperdrix
2012-06-13 8:32 ` mohammad khalid shaik
0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-12 18:37 UTC (permalink / raw)
To: mohammad khalid shaik; +Cc: xenomai
On 06/12/2012 06:59 AM, mohammad khalid shaik wrote:
> I have a question related to debugging techniques used in xenomai.
>
> I have a pcan-pci rtdm driver which i would like to debug in xenomai
> environment.
> Can any one let me know what are all techniques available for debugging
> rtdm drivers in xenomai?
You can debug with printk
And the I-pipe tracer may come in handy (when you detect a bug trigger a
trace freeze, with some backlog, you are able to know what functions
were called before that).
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] Rtdm driver debugging techniques.
2012-06-12 18:37 ` Gilles Chanteperdrix
@ 2012-06-13 8:32 ` mohammad khalid shaik
2012-06-13 8:49 ` Gilles Chanteperdrix
0 siblings, 1 reply; 5+ messages in thread
From: mohammad khalid shaik @ 2012-06-13 8:32 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
Thanks for your quick reply. I have one more question. whether kgdb setup
which is handy to debug the linux kernel can be used to debug xenomai?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] Rtdm driver debugging techniques.
2012-06-13 8:32 ` mohammad khalid shaik
@ 2012-06-13 8:49 ` Gilles Chanteperdrix
2012-06-13 10:21 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-13 8:49 UTC (permalink / raw)
To: mohammad khalid shaik; +Cc: xenomai
On 06/13/2012 10:32 AM, mohammad khalid shaik wrote:
> Thanks for your quick reply. I have one more question. whether kgdb setup
> which is handy to debug the linux kernel can be used to debug xenomai?
>
>From recent posts:
http://www.xenomai.org/pipermail/xenomai/2012-June/000199.html
It appears the I-pipe patch does not work with kgdb.
--
Gilles.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] Rtdm driver debugging techniques.
2012-06-13 8:49 ` Gilles Chanteperdrix
@ 2012-06-13 10:21 ` Jan Kiszka
0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2012-06-13 10:21 UTC (permalink / raw)
To: xenomai
On 2012-06-13 10:49, Gilles Chanteperdrix wrote:
> On 06/13/2012 10:32 AM, mohammad khalid shaik wrote:
>> Thanks for your quick reply. I have one more question. whether kgdb setup
>> which is handy to debug the linux kernel can be used to debug xenomai?
>>
>
>>From recent posts:
> http://www.xenomai.org/pipermail/xenomai/2012-June/000199.html
>
> It appears the I-pipe patch does not work with kgdb.
For older x86, I've a working branch here:
http://git.kiszka.org/?p=ipipe.git;a=shortlog;h=refs/heads/queues/2.6.35-x86-trace-kgdb
The plan is to get the required bits into some I-pipe core-3.x once time
permits.
However, if you are on x86 and have test platform with VT-d or AMD IOMMU
at hand, running Xenomai as KVM guest and passing the PCI adapter
through will enable faster source-level debugging than kgdb can provide.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-13 10:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CADULeAbdKdwKp_3kvHkAc9YYKFFUo7mr2qqmLJ5Ok3XeeiTQAQ@mail.gmail.com>
2012-06-12 4:59 ` [Xenomai] Rtdm driver debugging techniques mohammad khalid shaik
2012-06-12 18:37 ` Gilles Chanteperdrix
2012-06-13 8:32 ` mohammad khalid shaik
2012-06-13 8:49 ` Gilles Chanteperdrix
2012-06-13 10:21 ` 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.