All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Glatz <andreasglatz@domain.hid>
To: Tschaeche IT-Services <services@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Monitoring Xenomai scheduler switches
Date: Thu, 20 May 2010 10:54:46 -0400	[thread overview]
Message-ID: <20100520145446.GA3841@domain.hid> (raw)
In-Reply-To: <20100520142614.GA23058@domain.hid>

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




  reply	other threads:[~2010-05-20 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 14:26 [Xenomai-help] Monitoring Xenomai scheduler switches Tschaeche IT-Services
2010-05-20 14:54 ` Andreas Glatz [this message]
2010-05-21  9:04 ` Gilles Chanteperdrix
2010-05-21  9:28 ` Philippe Gerum
2010-05-25 11:44   ` Tschaeche IT-Services

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=20100520145446.GA3841@domain.hid \
    --to=andreasglatz@domain.hid \
    --cc=services@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.