Re: perf: confused by cc1
From: Dr. David Alan Gilbert
Date: Thu Dec 31 2009 - 07:25:30 EST
* Xiao Guangrong (xiaoguangrong@xxxxxxxxxxxxxx) wrote:
>
> Dr. David Alan Gilbert wrote:
> > Hi,
> > I'm running 2.6.33rc2 and thought I'd have a play with perf; its
> > symbol resolution code seems to be getting itself a bit confused however:
<snip>
>
> Your kernel is relocatable? See: http://lkml.org/lkml/2009/12/29/358
Yes it is, however the values I get for the symbols in all 3 cases seems
to be the same:
dg@major:~$ readelf -s /lib/modules/2.6.33-rc2-major/build/vmlinux|grep " _text"|head -1
49775: ffffffff81000000 0 NOTYPE GLOBAL DEFAULT 1 _text
dg@major:~$ grep _text /lib/modules/2.6.33-rc2-major/build/System.map |head -1
ffffffff81000000 T _text
dg@major:~$ grep _text /proc/kallsyms |head -2
ffffffff81000000 T _text
ffffffff81023840 T set_kernel_text_ro
Do you think that it could still be the cause?
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/