Here is an example for profiling, on macos 10.15.4, using clion with https://www.jetbrains.com/help/clion/cpu-profiler.html , I found it only ouput a part of call stacks.