On 22:53 Fri 03 Apr , wu zhangjin wrote:
> On Fri, Apr 3, 2009 at 10:11 PM, Zhang Le <email@example.com> wrote:
> > On 20:51 Fri 03 Apr , wu zhangjin wrote:
> >> okay, please check the attachment, thx!
> >> including:
> >> 1. add the HAVE_FUNCTION_TRACE_MCOUNT_TEST line in arch/mips/Kconfig
> >> 2. remove the useless registers save & restore operation in mcount.S
> >> 3. and add a "notrace" flag to tick_do_update_jiffies64 to avoid the
> >> nmi exception problem.
> > Have you tested the latest patch? Any working .config file?
> > I just tested it, seems can't boot.
> yes, i have tested it on qemu/malta, the attachment include a
> configuration & an init ram fs: initrd.gz
> boot it:
> $ qemu-system-mipsel -kernel vmlinux-qemu-malta-ftrace -initrd
> qemu-malta-initrd.gz -append "root=/dev/ram0 init=/bin/sh
> console=ttyS0 ramdisk_size=3000" -nographic -M malta -hda /dev/zero
> and also, i just test it on loongson2f(fuloong 6003) with the
> configuration file: defconfig-fl-rt-ftrace, but configured only as
> serial port debugging mode via a minicom, so, you need to add the
> other kernel modules if not have a serial
> port :-(
I will check whether there is any difference between the config caused the
At the meantime, would you please try my git tree, to see if it works?
> > I have pushed the patch, along with my fix, to my git tree, so that
> > the patch could be further polished. It is in linux-2.6.29-stable-ftrace
> > branch.
> > http://repo.or.cz/w/linux-2.6/linux-loongson.git
> > BTW, it seems firstname.lastname@example.org is not an alias of
> > email@example.com, since I haven't seen our previous emails appear
> > in
> > linux-mips ML's archive. So I have added firstname.lastname@example.org to CC
> > list.
> ooh, it's my fault :-) email@example.com is the right one~~
> > When this patch is more ready to be included, we'd better include LKML in CC
> > list, too. Because there are more ftrace gurus which could give advices to
> > this
> > patch.
> > Zhang, Le
> > http://zhangle.is-a-geek.org
> Studying engineer. Wu Zhangjin
> Lanzhou University http://www.lzu.edu.cn
> Distributed & Embedded System Lab http://dslab.lzu.edu.cn
> School of Information Science and Engeneering http://xxxy.lzu.edu.cn
> firstname.lastname@example.org http://falcon.oss.lzu.edu.cn
> Address:Tianshui South Road 222,Lanzhou,P.R.China Zip Code:730000