How to use gprof in QNX?

Hi, everyone:
How to use GNU gprof in QNX? Does QNX support it? Is there any
function similiar to it in QNX? Thanks!

Haitao Qiu

Haitao Qiu <hqiu@ee.ucr.edu> wrote:

Hi, everyone:
How to use GNU gprof in QNX? Does QNX support it? Is there any
function similiar to it in QNX? Thanks!

It is the same as on other UNIX systems, except you need to run the code
you are profiling as root. Compile and link with the -p option.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/