Intel VTune

Intel VTune is a free profiler which also works on AMD hardware but has additional features on Intel hardware. It is able to profile multiple languages (C++, Java, Python, …) and hardware (CPU, GPU, FPGA, …) and works on Linux, MacOS and Windows.

Intel itself offers a rather good introduction: https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-vtune/top.html