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
    2 years 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
    2 years 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. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD320 Linux Kernel Internals and Debugging
    13 Jul » 17 Jul - North Reading - MA + Virtual (GUARANTEED TO RUN)
    Details
  3. LFS426 Linux Performance Tuning
    13 Jul » 16 Jul - Virtual (Guaranteed to Run)
    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