Hotspot
The Linux perf GUI for performance analysis
... a newly started application, or to attach to an already running process(es). Building hotspot from a source gives you the latest and greatest, but you'll have to make sure all its dependencies are available. Most users should probably install a hotspot from the distro package manager or as an AppImage.