From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 1 Dec 2014 08:31:30 +0100 From: Gilles Chanteperdrix Message-ID: <20141201073130.GQ2964@hermes> References: <5389961F-2DC1-43AA-8FEA-2BD0D3A61B7E@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5389961F-2DC1-43AA-8FEA-2BD0D3A61B7E@gmail.com> Subject: Re: [Xenomai] Performance monitoring question List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mathew Benson Cc: xenomai@xenomai.org On Sun, Nov 30, 2014 at 10:39:56PM -0600, Mathew Benson wrote: > I'm using the native skin. I understand there are things you can > do to cause a user space task to fall back to the normal Linux > scheduler. How do I know if this has happened? Will RT functions > like semaphores fail with an incorrect mode failure? No, Xenomai automatically switches user-space tasks to primary or secondary mode when needed. > Can I register a callback to be notified? > > I'm asking because I added code to my project fully expecting it > to kick it back to normal scheduler or cause timers to fail, but > nothing. Everything still seems to be working just fine. > Specifically, I'm making ioctl calls to access a webcam. So what > can I do to verify that my tasks really are running on the rt > scheduler? See: http://xenomai.org/2014/06/finding-spurious-relaxes/ -- Gilles.