Linux profiling:
Hi ALL,
I am doing profiling for my multithread application using gprof.To generate gmon.out file I set the CC with pg option.I am unable to generate gmon.out file what might be the reason.
When I run my application I am getting fallowing error.Please kindly suggest me whether any other procedure is there fallow to do profiling for multithread application.We are using powerpc based board, I configured the binutilty(version binutils-2.11.2) for powerpc and cross compiled for powerpc, While cross compiling i got warning like Bfd doesnt support powerpc architecture.Please suggest me any further tool, I have to use to do easy way profiling for multithread application.what are the steps I have to fallow.
/chan/Multi_09_18_09_Release_1v18/Firmware_11_23_09/mobiapp # gprof ./mobiapp
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 95.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 126.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 525.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 5135.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 105.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 110.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 114.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 391.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Could not find abbrev number 126.
BFD: Dwarf Error: Invalid or
gmon.out: No such file or directory
Thanks for kind help.
Regards,
shekar
|