lkml.org 
[lkml]   [2009]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBUG: different symbol address between System.map and /proc/kallsyms
Hi,

The symbol address in System.map and /proc/kallsys is different:

# cat System.map | grep _text
c1000000 T _text
# cat /proc/kallsyms | grep _text
c0100000 T _text

# readelf -s vmlinux | grep _text
35078: c1000000 0 NOTYPE GLOBAL DEFAULT 1 _text

So, perf can't get sysmbol address properly:

# ./perf report
# Samples: 29
#
# Overhead Command Shared Object Symbol
# ........ ....... ................... ......
#
93.10% sleep c014f988 [k] 0x000000c014f988
3.45% sleep libc-2.9.90.so [.] _int_malloc
3.45% sleep [kernel] [k] 0x000000c014f988


\
 
 \ /
  Last update: 2009-12-21 02:25    [W:0.048 / U:2.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site