[Xenomai-help] Can I profile a Xenomai app?

2006-06-09 Thread Brian Hughner
Hi! I've been working with Xenomai 2.1 and 2.2 and would like to profile a daemon that I wrote. Is it possible to profile Xenomai threads in a daemon? Brian Hughner ___ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/x

Re: [Xenomai-help] Xenomai: binding failed: Operation not permitted.

2006-06-09 Thread Jan Kiszka
Jan Kiszka wrote: > s.a. wrote: >> Hi, >> >> In my mind , one or more rt process manages everything critical, need >> root access for resources reasons , other processes are things like gui >> to interact with realtime world, including X11 applications (I know , I >> will hurt some people, but thi

Re: [Xenomai-help] shm_open, ftruncate

2006-06-09 Thread Lionel Perrin
Gilles Chanteperdrix a écrit : Lionel Perrin wrote: > ///* the following lines shouldn't be commented but xenomai... */ > //else > //{ > ///* a new shm_file has been created, we need to truncate it */ > //if (ftruncate(h_shm, nbvalues

Re: [Xenomai-help] shm_open, ftruncate

2006-06-09 Thread Gilles Chanteperdrix
Lionel Perrin wrote: > // /* the following lines shouldn't be commented but xenomai... */ > // else > // { > // /* a new shm_file has been created, we need to truncate it */ > // if (ftruncate(h_shm, nbvalues * sizeof(double))==-1) > // { > //

Re: [Xenomai-help] shm_open, ftruncate

2006-06-09 Thread Gilles Chanteperdrix
Lionel Perrin wrote: > > > > > I can confirm that a few fixes in v2.1 were missing, so trunk works > > > > correctly, didn't you forget to rebuild the kernel when building > > trunk ? > > > > Attached is a patch to v2.1 that contain the fixes backported from > > > > trunk. Please try t

Re: [Xenomai-help] shm_open, ftruncate

2006-06-09 Thread Lionel Perrin
> > I can confirm that a few fixes in v2.1 were missing, so trunk works > > correctly, didn't you forget to rebuild the kernel when building trunk ? > > Attached is a patch to v2.1 that contain the fixes backported from > > trunk. Please try this patch and tell me if this works for you. > >