1. 3
  1. 1

    For CPU performance profiling using an AMD processor, you can also use AMD’s uProf: https://developer.amd.com/amd-uprof/

    I guess it is AMD’s answer to Intel’s VTune but I admit I have never tried it.

    1. 1

      This blog will give you a brief overview of profiling C and C++ applications. Additionally, it will lay before you all of the tools available, with the purpose of aiding you in choosing the right tools at the right times.

      It lists a grand total of … four tools. Somehow I suspect there are more? 🤔 This smells like clickbait to me.

      There could be a whole section on dtrace, and another on Mac/iOS tools from sample to Instruments (which itself is based on dtrace.)

      1. 3

        They also failed to mention callgrind which is part of valgrind. Together with kcachegrind it makes it very easy to profile and analyze the results.

        There are also alternatives to perf, like not-perf that also uses the same kernel api but has some advantages over perf :)