All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johann Obermayr <johann.obermayr@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] task switching logging
Date: Wed, 23 Mar 2011 10:37:57 +0100	[thread overview]
Message-ID: <4D89BF75.1060500@domain.hid> (raw)

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



             reply	other threads:[~2011-03-23  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23  9:37 Johann Obermayr [this message]
2011-03-25 10:35 ` [Xenomai-help] task switching logging Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D89BF75.1060500@domain.hid \
    --to=johann.obermayr@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.