All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Yogi A. Patel" <yapatel@gatech.edu>
Subject: Re: [Xenomai] Spurious relax test?
Date: Fri, 26 Dec 2014 18:32:37 +0100	[thread overview]
Message-ID: <20141226173237.GF1692@daedalus> (raw)
In-Reply-To: <0F406C82-532C-4D88-8D92-CEE25D5E0D4A@gatech.edu>

On Fri, Dec 26, 2014 at 12:19:02PM -0500, Yogi A. Patel wrote:
> 
> > On Dec 26, 2014, at 12:15, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
> > 
> > On Fri, Dec 26, 2014 at 11:55:57AM -0500, Yogi A. Patel wrote:
> >> 
> >>> On Dec 26, 2014, at 10:58, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote:
> >>> 
> >>> On Fri, Dec 26, 2014 at 12:46:58AM -0500, Yogi A. Patel wrote:
> >>>> Hi -
> >>>> 
> >>>> I’ve implemented the code provided on the Xenomai website for finding spurious relaxes in Xenomai 2 - however I’m a bit skeptical about whether or not I’ve implemented it correctly since I don’t ever see any output to the terminal.
> >>>> 
> >>>> Is there any way to “induce” a relax to test the implementation and know that it is in fact catching any drops to secondary mode?
> >>> 
> >>> See examples/native/sigdebug.c
> >> 
> >> Thanks, Gilles. I implemented the warning method using the example as a guide.
> >> 
> >> It appears to be working - however I’m a bit puzzled by the output here.
> >> 
> >> The only error I am getting is: SIGDEBUG received, reason 2: invoked syscall
> >> rtxi(_Z17rt_switch_warningiP9siginfo_tPv+0x3d)[0x43883d]
> >> /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f71e54a9340]
> >> /lib/x86_64-linux-gnu/libpthread.so.0(sem_post+0x2d)[0x7f71e54a790d]
> >> 
> >> The application I am testing is a Qt based application - I have a feeling these are all coming from the posting of events to the Qt event stack but can’t tell for sure.
> >> 
> >> Is there a way/how can I get more information from the trace?
> > 
> > gdb
> 
> How exactly does gdb interface with the output above?..

See:
https://sourceware.org/gdb/current/onlinedocs/gdb/Signals.html#Signals

-- 
					    Gilles.


      parent reply	other threads:[~2014-12-26 17:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-26  5:46 [Xenomai] Spurious relax test? Yogi A. Patel
2014-12-26 15:58 ` Gilles Chanteperdrix
2014-12-26 16:55   ` Yogi A. Patel
2014-12-26 17:15     ` Gilles Chanteperdrix
     [not found]       ` <0F406C82-532C-4D88-8D92-CEE25D5E0D4A@gatech.edu>
2014-12-26 17:32         ` Gilles Chanteperdrix [this message]

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=20141226173237.GF1692@daedalus \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=yapatel@gatech.edu \
    /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.