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. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - 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