Skip to contentSkip to conversation

Valgrind and xenomai?

Xenomai-help Josh Bowman 2 participants 2 messages Mar 16, 2006 – Mar 17, 2006

lore
Share & tools
lore
#0 lore raw

Has anyone made Valgrind work on a xenomai user-space application?

My attempts so far (with valgrind 2.4.0 and 3.1.0 from gentoo) has lead to:

--25174-- WARNING: unhandled syscall: 555 --25174-- Do not panic. You may be able to fix this easily. --25174-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled. (modprobe xeno_native?)

The native skin *was* loaded (the program runs without valgrind). I think this means that valgrind needs to have code added to handle the xenomai system calls-- but I could find no mention of xenomai on valgrind.org (including the release notes archives).

Thanks in advance!
Josh Bowman

#1 lore raw
Quoted 10 lines · Josh Bowman

Has anyone made Valgrind work on a xenomai user-space application?

My attempts so far (with valgrind 2.4.0 and 3.1.0 from gentoo) has lead to:

--25174-- WARNING: unhandled syscall: 555 --25174-- Do not panic. You may be able to fix this easily. --25174-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled. (modprobe xeno_native?)

Quoted 3 lines

The native skin *was* loaded (the program runs without valgrind). I think this means that valgrind needs to have code added to handle the xenomai system calls

Yes, I am afraid. And looking at README_MISSING_SYSCALL_OR_IOCTL, there is a lot of code to add.

But there is a way to run your programs with valgrind: use Xenomai discrete event simulator, configured with the --enable-atomic-core flag.

Signature · 1 line
					    Gilles Chanteperdrix.