FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 04-26-2011, 11:34 AM
Zongliang Li
 
Default 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,
 
Old 04-26-2011, 02:15 PM
Ben Hutchings
 
Default 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.
 

Thread Tools




All times are GMT. The time now is 09:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org