LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   trace & memory (https://www.linuxquestions.org/questions/linux-general-1/trace-and-memory-404008/)

arunachalam 01-16-2006 09:04 AM

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.

dombrowsky 01-17-2006 02:00 AM

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)


All times are GMT -5. The time now is 04:18 PM.