Link to home
Start Free TrialLog in
Avatar of Bvm 18
Bvm 18

asked on

what is the best tool to do profiling for c++ multi threaded server daemon on Linux?

what is the best tool to do profiling for c++ multi threaded server daemon on Linux?

Complied program with -pg and the tried with gprof/gmon.out. Couldn't find call graph as per functions mentioned in my program. It has shown all low level api's call graph like string internals, memory allocations..etc.

Can someone suggest how to get call graph from gmon.out for multi threaded server daemon.

Any other tool(s)?
ASKER CERTIFIED SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
$ echo "If query being resolved,
close/assist this query. Most welcome. " | /usr/bin/wc
      2       9      65
$

Open in new window