I'm looking for a solution to profile an application running on Petalinux on a ZedBoard. I'd like to have the time that the program is spending spending per function/line. There is the TCF Profiler in SDK which basically works, but it is sampling at a very low rate and it seems like the sampling rate is not configurable. Is there another solution with which I can get a higher sampling rate? Is it possible to use gprof on a Petalinux application or maybe use something like perf direct on Petalinux?