I dont think you actually need gprof on the caanoo to do profiling, just enable your binary to do profiling with this option -pg
Run your binary and quit normally. Now on your sd card should be files that will have been generated from the profiling. Move them to a PC and use the gprof on the PC.