All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Problem trying to find secondary mode switches.
@ 2007-06-01  9:07 Gilles Chanteperdrix
  2007-06-01  9:43 ` Dmitry Adamushko
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Chanteperdrix @ 2007-06-01  9:07 UTC (permalink / raw)
  To: xenomai


Hi,

I am using the XNTRAPSW option to try and find secondary mode switches
in some piece of code for which I do not have the sources. I have
installed the usual signal handler which dumps the backtrace, just as in
ksrc/skins/native/snippet/sigxcpu.c. But the problem is that the
backtrace is not helpful, it show addresses in libpthread and
libpthread_rt global destructor sections.

By adding some printks in shadow.c I know that what causes the mode
switch is the linux arm syscall 78 aka gettimeofday.

So, my question is: is there any chance that the signal sent by send_sig
in xnshadow_relax could be received by another thread than send_sig
target ? If not, where should I look for the reason of this wrong
backtrace ?


-- 
                                                 Gilles Chanteperdrix


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

end of thread, other threads:[~2007-06-01  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-01  9:07 [Xenomai-help] Problem trying to find secondary mode switches Gilles Chanteperdrix
2007-06-01  9:43 ` Dmitry Adamushko

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.