LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-16-2006, 09:04 AM   #1
arunachalam
Member
 
Registered: Sep 2005
Posts: 53

Rep: Reputation: 15
trace & memory


1. like strace , is there any method to trace our own function calls

like when we do "bt" in gdb , it give the flow of the functions. but can we know the parameters values passed for each of the functions.

2. how can we find the exact memory usage in RAM for the execution of any exe.
 
Old 01-17-2006, 02:00 AM   #2
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
wow. those are the questions I would LOVE to know the exact answers to. But I don't know enough about the kernel or system calls to give a good answer.

I used the GNU profiling tools a while back. They're all command line (or at least they were about 6 years ago), and you'll have to like reading documentation in order to really use its features. man gprof(1)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCMCIA & high memory space BroX Linux - Laptop and Netbook 2 03-03-2004 03:18 AM
RH 7.3 Memory & Swap wombatz Linux - General 5 02-16-2004 07:39 PM
RH 7.3 Memory & Swap wombatz Linux - General 1 02-13-2004 05:13 AM
CPU & memory utilization rgerhards Linux - Newbie 2 12-03-2003 11:24 AM
About process management & memory solid Linux - General 1 03-22-2001 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:08 PM.

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