Profiling (Wikipedia article) is a tool for tracing where CPU time is spent. This is usually done for performance analysis reasons.

  • ?gprof

    Should be working, but some issues have been reported, regarding GCC spec files. Should be possible to fix (if not yet done) easily.

  • glibc's sotruss

  • ltrace

  • latrace

  • dtrace

    Have a look at this, integrate it into the main trees.

  • LTTng

  • SystemTap

  • ... or some other Linux thing.