All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] task switching logging
@ 2011-03-23  9:37 Johann Obermayr
  2011-03-25 10:35 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Johann Obermayr @ 2011-03-23  9:37 UTC (permalink / raw)
  To: xenomai

Hello,

we use follow function to report task switching.
     rt_task_add_hook(T_HOOK_SWITCH, (void(*)(void*))taskSwitchXenomai);
     sched_info_install_switch_hook(taskSwitchLinux);

we does not get a hook callback for switch from gatekeeper to primary 
domain.

we have a shadow task running in primary. on some function it switch 
back to secondary.
if we switch back the task with rt_task_set_mode(0,T_PRIMARY).
we only see the switching to gatekeeper and not the switch to primary ?

Any solution ?

Xenomai 2.5.6, linux kernel 2.6.32.15. gcc 4.3.3


   Jimmy



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

end of thread, other threads:[~2011-03-25 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23  9:37 [Xenomai-help] task switching logging Johann Obermayr
2011-03-25 10:35 ` Gilles Chanteperdrix

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.