From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4490381F.6030309@domain.hid> Date: Wed, 14 Jun 2006 18:23:59 +0200 From: Philippe Gerum MIME-Version: 1.0 Subject: Re: [Xenomai-core] /proc/xenomai broken... References: <17552.12922.452992.652848@domain.hid> <44903432.3070905@domain.hid> <17552.13951.428423.915304@domain.hid> In-Reply-To: <17552.13951.428423.915304@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org Gilles Chanteperdrix wrote: > Philippe Gerum wrote: > > Gilles Chanteperdrix wrote: > > > When using xenomai trunk, it appears that /proc/xenomai is no longer a > > > directory but a file returning "0". > > > > > > > Check your recent changes for giving the nucleus a regular syscall > > table. I would not be surprised of some side-effect there. i.e. > > something going on with the xnptree_t descriptor? > > That is exactly the source of the problem, since iface_proc_root in > nucleus/module.c has not yet been set, the proc entry for the nucleus > interface get created directly under /proc instead of > /proc/xenomai/interfaces. > > Do we need a /proc entry for this interface ? > Not really. This would only give the exact number of processes bound to the nucleus, whilst major interface counters already display the number of bound threads. -- Philippe.