I've configured and built gpreftools. however, I can't seem to find the generated profile file of my program to display it.
I took the following actions:
Adding the
-lprofilerlinker flag to my.pro, building the program and the flag is added correctly at the linking stage.QMAKE_LFLAGS += -lprofilerRunning with:
$ CPUPROFILE=/tmp/prof.out /path/to/executableExecuting:
$ pprof --gv /path/to/MyExe /tmp/prof.out
Then I get the following:
Failed to get profile: curl -s --max-time 90 'http:///pprof/profile?seconds=30' > /home/eslam/pprof/.tmp.MyExe.1509005857.: No such file or directory.
Anyone has a resolve on this?