Sorry to reply so late, I did a test about install ftrace on xenomai. the
following is my procedure:
#git:// queues/ftrace
#git:// queues/2.6.35-x86-trace
#cd queues/ftrace
#git checkout -b remotes/origin/queues/ftrace
 origin/queues/2.6.35-x86-trace  //change to the ftrace xenomai branch
#cd ../2.6.35-x86-trace
#git checkout
-b origin/queues/2.6.35-x86-trace origin/queues/2.6.35-x86-trace
#cd ../ftrace
#./scripts/  --arch=i386
#cd /2.6.35-x86-trace/

then I compile the kernel but I get the following error message:
arch/x86/kernel/ipipe.c:851: error: conflicting types for ‘update_vsyscall’
include/linux/clocksource.h:316: note: previous declaration of
‘update_vsyscall’ was here
make[2]: *** [arch/x86/kernel/ipipe.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

I am not sure the reason is that I get the wrong patch or the kernel
configuration is wrong, Is the procedure above right? Thanks!

2011/9/3 Jan Kiszka <>

> On 2011-09-03 04:52, rainbow wrote:
> > hi,all,I want to use ftrace in xenomai-2.5.6,but when I use git://
> > queues/2.6.35-x86-trace to get the linux
> > kernel,there is no option about xenomai or ipipe . If I want to patch the
> > xenomai patch,there are some problem. How should I use ftrace on
> > xenomai?Thanks!
> First of all, make sure to read README.INSTALL in the Xenomai tree for
> the basic installation procedure.
> That git branch above replaces the installation step of picking a
> vanilla Linux source tree and applying the ipipe patch to it (if there
> is no ipipe option in the kernel config, you probably haven't check out
> the right branch yet).
> The next step would be running Xenomai's, in this case
> using a Xenomai tree that has the required ftrace patches, see
> Jan

Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
Do what you like,
Enjoy your life.
Xenomai-core mailing list

Reply via email to