Hi, > > we started an application which monitors task switches > using Xenomai 2.5.3. > > For monitoring primary domain switches we hooked > in our code by using rt_task_add_hook(T_HOOK_SWITCH) > (storing a timestamp and the Xenomai task ID in an array, > which is read later by user space appl from shared memory). >
This is not related to your actual question: Do you want to monitor task switches for debugging or is it part of your application? If for debugging, have you ever used lttng? I know it takes a while to install it but it's quite reliable and can give you much more than the info when a certain task switch occured. Regards, Andreas _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
