hi, I did a test for ftrace-xenomai on x86_64 test just now: the environment is : OS: debian 6.0 gcc-4.1 I use origin/queues/2.6.37-x86 branch on git git://git.kiszka.org/ipipe-2.6for linux kernel and use branch origin/queues/ftrace on git git:// git.xenomai.org/xenomai-jki.git then I do as the following procedures: 1,cd xenomai git 2, ./scripts/prepare-kernel.sh --arch=x86_64 --linux=path_to_2.6.37-x86 3, cd path_to_2.6.37_x86 4,make menuconfig then enble ftrace on kernel hacking option. 5,install the kernel and reboot the machine. 6,do ftrace test 6.1 mount -t debugfs nodev /sys/kernel/debug 6.2 cd /sys/kernel/debug/tracing 6.3 echo function > current_tracer At last the machine reboot. Is there something wrong about the above procedure? Thanks! 2011/9/4 Jan Kiszka <jan.kis...@web.de>
> On 2011-09-04 15:16, rainbow wrote: > > 2011/9/4 Jan Kiszka <jan.kis...@web.de> > > > >> On 2011-09-04 14:21, rainbow wrote: > >>> Is the ipipe patch the same as patch like > >>> adeos-ipipe-184.108.40.206-x86-2.9-02.patch, > >> > >> Except that the trace branch is for 2.6.35, yes. More precisely it is > >> now the same, I just pushed the latest version that includes two more > >> backported ipipe fixes. > >> > >>> I know the latter is xenomai patch > >>> and after I patch it, I can see "Real-time sub-system ---> " Option. > But > >> If > >>> I use 2.6.35-x86-trace which contains ,there is no such option. > >> > >> That menu option is introduced by Xenomai, ie. after running > >> prepare-kernel.sh. You likely forgot that step. > >> > > > > > >> Yes,I forget the step. So I think I only have to run prepare-kernel.sh > >> --arch=x86_64 > > > > --linux=2.6.35-x86-trace , I do not need --adeos option because > >> the 2.6.35-x86-trace contains the ipipe patch. > >> > > > > > > > >> Note again that you have to use a Xenomai tree with the required ftrace > >> patches on top if you want Xenomai to generate ftrace events as well. > >> > >> "Xenomai tree with required ftrace patches on top" you mean the branch > > "remotes/origin/queues/ftrace"? > > Yep. I just pushed a rebased version of current git master. > > Jan > > -- Qingquan Lv School of Information Science & Engineering , Lanzhou University. mail: lvq...@gmail.com Do what you like, Enjoy your life.
_______________________________________________ Xenomai-core mailing list Xenomaifirstname.lastname@example.org https://mail.gna.org/listinfo/xenomai-core