Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   can't grep start_rodata in /proc/kallsyms (http://www.linux-archive.org/debian-kernel/518579-cant-grep-start_rodata-proc-kallsyms.html)

Zongliang Li 04-26-2011 11:34 AM

can't grep start_rodata in /proc/kallsyms
 
Hi,

I'm using Debian squeeze 6.0.1a.

I tried to grep `start_rodata' in /proc/kallsyms but no output. But can succeed with System.map.

root@debian:/boot# uname -a
Linux debian 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux

root@debian:/boot# grep _start_rodata /proc/kallsyms
root@debian:/boot# grep _start_rodata /boot/System.map-2.6.32-5-686
c1273000 R __start_rodata
root@debian:/boot#

How can I know where went wrong?


BR,

Ben Hutchings 04-26-2011 02:15 PM

can't grep start_rodata in /proc/kallsyms
 
On Tue, 2011-04-26 at 19:34 +0800, Zongliang Li wrote:
> Hi,
>
> I'm using Debian squeeze 6.0.1a.
>
> I tried to grep `start_rodata' in /proc/kallsyms but no output. But
> can succeed with System.map.
>
> root@debian:/boot# uname -a
> Linux debian 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686
> GNU/Linux
> root@debian:/boot# grep _start_rodata /proc/kallsyms
> root@debian:/boot# grep _start_rodata /boot/System.map-2.6.32-5-686
> c1273000 R __start_rodata
> root@debian:/boot#
>
> How can I know where went wrong?

I don't think there's anything wrong here. /proc/kallsyms only contains
text (function) symbols.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


All times are GMT. The time now is 07:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.