LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Profiling daemon threads in Linux.. which tool? (https://www.linuxquestions.org/questions/linux-software-2/profiling-daemon-threads-in-linux-which-tool-207650/)

devershetty 07-20-2004 09:17 PM

Profiling daemon threads in Linux.. which tool?
 
Hello,

From past few weeks, I have tried to profile daemons using following tools.
a. gprof - profiles only applications.
b. FunctionCheck - profiles threads but threads should exit.
c. AQtime - profiles only application and its threads not daemons.
d. Intel's VTune - profiles applications and its threads
I have no success using these tools
I have following flow in my project.

_____ ____ ____ ____
| app |----->| d1 |---->| d2 |----->| d3 |
| | | |<----| |<-----| |
| | | | ^^^ ^^^^
| | | |--->| d4 |
| | <--- | |<---| |
^^^^ ^^^ ^^^^

I need to profile daemon d4. Is there a tool which will profile
daemons launched by applications. Profile data
should include functions called by daemons, library functions, system functions, number of calls, time in micro seconds.


thanks in advance.
Kotresh.


All times are GMT -5. The time now is 12:00 AM.