Getting Visual Studio's sampling profiler working with UE5

Hello, I’m wondering if anyone knows the trick to getting Visual Studio’s sampling profiler (acessible through Debug->Performance Profiler) working with a UE5 project? I’ve tried to connect VS to runnig copy of my game several times either as a standalone or a play-in-editor instance, but the profiler only ever reports all functions as being part of UnrealEditor.dll and having no function details, even when I know there is a significant amount of C++ code running in my own project.

I’m aware of (and use) Unreal Insights trace functionality, but tracing is only part of the optimisation toolset, and a sampling profiler is extremely useful.

Alternatively does anyone know of a free sampling profiler that works with UE5 out of the box?

Thanks