Linux.com

Home Learn Linux Linux Answers Applications Is there any debugging tool that can run an executable and report the execution time of all the functions in the same?
Answers
  • Use valgrind's callgrind tool. Valgrind is a tool you need when doing anything non-trivial.

    http://valgrind.org/docs/manual/cl-manual.html

    Answered by fransklaver
    One year ago
    0 0
  • Yes and no. There are various tools for "profiling" applications in linux, the most prominent being perf, oprofile, and gcov. Each has specific requirements, though, starting with the symbol information for the executable you want to study.

    {To improve storage requirements, memory requirements, and startup time, most linux applications are "stripped" of extraneous symbols before packaging.}

    Answered by pturmel
    One year ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Applications

Upcoming Linux Foundation Courses

  1. LFS422 High Availability Linux Architecture
    08 Sep » 11 Sep - Raleigh, NC
    Details
  2. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details
  3. LFS520 OpenStack Cloud Architecture and Deployment
    08 Sep » 11 Sep - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board