The QNX Application Profiler lets you perform:
Sampling doesn't require instrumentation, and has low overhead, but your application needs to run for a long time for you to get sound data.
Sampling and Calls Count requires a compiler and linker flag, and has more overhead.
Function Instrumentation requires a compiler flag and linker flag, and even more overhead.