* [Xenomai-help] valgrind @ 2008-05-28 7:33 Stéphane ANCELOT 2008-05-28 8:01 ` Gilles Chanteperdrix 0 siblings, 1 reply; 4+ messages in thread From: Stéphane ANCELOT @ 2008-05-28 7:33 UTC (permalink / raw) To: xenomai-help Hi, I tried xenomai integration in valgrind . I have got some problems with __native_muxid . Is there an easy way to retrieve this value (is it a const?) or is it a variable I have to store and reuse ? Best Regards S.Ancelot ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] valgrind 2008-05-28 7:33 [Xenomai-help] valgrind Stéphane ANCELOT @ 2008-05-28 8:01 ` Gilles Chanteperdrix 2008-05-29 8:53 ` Stéphane ANCELOT 0 siblings, 1 reply; 4+ messages in thread From: Gilles Chanteperdrix @ 2008-05-28 8:01 UTC (permalink / raw) To: Stéphane ANCELOT; +Cc: xenomai-help On Wed, May 28, 2008 at 9:33 AM, Stéphane ANCELOT <sancelot@domain.hid> wrote: > Hi, > I tried xenomai integration in valgrind . > > I have got some problems with __native_muxid . > > Is there an easy way to retrieve this value (is it a const?) or is it a > variable I have to store and reuse ? The muxid is returned by the "xn_sys_bind" system skin syscall. So, you have to get it at run-time. -- Gilles ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] valgrind 2008-05-28 8:01 ` Gilles Chanteperdrix @ 2008-05-29 8:53 ` Stéphane ANCELOT 2008-05-29 9:19 ` Gilles Chanteperdrix 0 siblings, 1 reply; 4+ messages in thread From: Stéphane ANCELOT @ 2008-05-29 8:53 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai-help, valgrind-users Gilles Chanteperdrix a écrit : > On Wed, May 28, 2008 at 9:33 AM, Stéphane ANCELOT <sancelot@domain.hid> wrote: > >> Hi, >> I tried xenomai integration in valgrind . >> >> I have got some problems with __native_muxid . >> >> Is there an easy way to retrieve this value (is it a const?) or is it a >> variable I have to store and reuse ? >> > > The muxid is returned by the "xn_sys_bind" system skin syscall. So, > you have to get it at run-time. > > OK, but unfortunately, in valgrind, there is a static syscall_table containing all syscalls numbers. In order solving this problem, I may setup a static range of syscalls for xenomai and route to concerned valgrind syscall at execution ? What are the xenomai syscall ranges ? Best Regards S.Ancelot ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-help] valgrind 2008-05-29 8:53 ` Stéphane ANCELOT @ 2008-05-29 9:19 ` Gilles Chanteperdrix 0 siblings, 0 replies; 4+ messages in thread From: Gilles Chanteperdrix @ 2008-05-29 9:19 UTC (permalink / raw) To: Stéphane ANCELOT; +Cc: xenomai-help, valgrind-users On Thu, May 29, 2008 at 10:53 AM, Stéphane ANCELOT <sancelot@domain.hid> wrote: > > > Gilles Chanteperdrix a écrit : >> >> On Wed, May 28, 2008 at 9:33 AM, Stéphane ANCELOT <sancelot@domain.hid> >> wrote: >> >>> >>> Hi, >>> I tried xenomai integration in valgrind . >>> >>> I have got some problems with __native_muxid . >>> >>> Is there an easy way to retrieve this value (is it a const?) or is it a >>> variable I have to store and reuse ? >>> >> >> The muxid is returned by the "xn_sys_bind" system skin syscall. So, >> you have to get it at run-time. >> >> > > OK, but unfortunately, in valgrind, there is a static syscall_table > containing all syscalls numbers. You have to modify valgrind to allow Xenomai dynamic syscall table scheme. > > In order solving this problem, I may setup a static range of syscalls for > xenomai and route to concerned valgrind syscall at execution ? > What are the xenomai syscall ranges ? It depends on the platform, but what we know for sure is that Xenomai syscall ranges are out of Linux syscall ranges. You will find Xenomai syscall number mangling scheme in include/asm-yourplatform/syscall.h, and the syscall numbers of a given skin in include/yourskin/syscall.h. -- Gilles ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-05-29 9:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-05-28 7:33 [Xenomai-help] valgrind Stéphane ANCELOT 2008-05-28 8:01 ` Gilles Chanteperdrix 2008-05-29 8:53 ` Stéphane ANCELOT 2008-05-29 9:19 ` Gilles Chanteperdrix
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.