Debug scheduling

Hi all,

I have a scheduling issue with a patched Preempt-RT linux running my
components. Does anyone know how I can debug the linux scheduling ?

I'm quite sure I have a syscall putting my RT task out of priorityn but i
can't find where. With xenomai I used to use the "warn upon switch" tool.
Is there anything similar on Preempt-RT ?

Debug scheduling

On 02/03/2014 11:26 PM, Willy Lambert wrote:
> Hi all,
>
> I have a scheduling issue with a patched Preempt-RT linux running my
> components. Does anyone know how I can debug the linux scheduling ?
>
> I'm quite sure I have a syscall putting my RT task out of priorityn but
> i can't find where. With xenomai I used to use the "warn upon switch"
> tool. Is there anything similar on Preempt-RT ?
There is Linux' perf tool, which can track preemption.

Debug scheduling

2014-02-04 Sylvain Joyeux <sylvain [dot] joyeux [..] ...>:

> On 02/03/2014 11:26 PM, Willy Lambert wrote:
>
>> Hi all,
>>
>> I have a scheduling issue with a patched Preempt-RT linux running my
>> components. Does anyone know how I can debug the linux scheduling ?
>>
>> I'm quite sure I have a syscall putting my RT task out of priorityn but
>> i can't find where. With xenomai I used to use the "warn upon switch"
>> tool. Is there anything similar on Preempt-RT ?
>>
> There is Linux' perf tool, which can track preemption.
> --
>

Thanks for pointing this ! The first result give me a bunch of
"deployer-####" as thread identificator which is totally unreadable. I'm
quite sure this is something that has been solved in 2.6 (and I'm still in
2.5) so I'd better update all this stuff to 2.7 and come back later.

> Sylvain Joyeux (Dr.Ing.)
> Space & Security Robotics
>
> !!! Achtung, neue Telefonnummer!!!
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178-454136
> Fax: +49 (0)421 218-454150
> E-Mail: robotik [..] ...
>
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
>