linux perf: how to interpret and find hotspots

前端 未结 5 1822
说谎
说谎 2020-11-28 21:14

I tried out linux\' perf utility today and am having trouble in interpreting its results. I\'m used to valgrind\'s callgrind which is of course a totally different approach

5条回答
  •  暖寄归人
    2020-11-28 21:53

    You should give hotspot a try: https://www.kdab.com/hotspot-gui-linux-perf-profiler/

    It's available on github: https://github.com/KDAB/hotspot

    It is for example able to generate flamegraphs for you.

提交回复
热议问题