LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2011, 11:27 PM   #1
krishanth
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
What are symbols?


What exactly does symbol mean in linux kernel?
 
Old 11-07-2011, 11:58 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by krishanth View Post
What exactly does symbol mean in linux kernel?
you're not very specific about that, so I can't be 100% sure if that's what you want to know ...

"Symbols" are variable names, function names and so on that are used in programming. When a piece of software is released, it's usually just the executable machine code (plus manual or other documentation, of course). The source code, that is the human-readable form of the software, may be supplied separately (open-source software) or not at all (most commercial closed-source products).

Now, if a programmer writes a module that interacts with the Linux kernel, he has to test and debug it using a "live" kernel. Plus, he has the source codes of the kernel available so he can look up what's going on inside the compiled code.
But it's on the verge of impossible to look at the working kernel and tell what line of source code a particular piece of code is related to. That's where the symbol table enters the stage: A cross-reference of machine code addresses and the correspondig source code line, so that you can correlate the two.

[X] Doc CPU
 
1 members found this post helpful.
Old 11-07-2011, 10:26 PM   #3
krishanth
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you Doc CPU. That was helpful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'nm' lists all symbols - including static library symbols painulyarun Programming 4 04-06-2010 04:04 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 5 03-25-2007 09:44 AM
Debugger selectively not using symbols in library with symbols Millenniumman Programming 1 03-03-2007 07:46 PM
vi symbols mean? curos Linux - Software 3 01-03-2007 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration