GCC 14 Adds gprofng Support For This Next-Gen GNU Profiler

Merged into the GCC 14 codebase is initial support for gprofng, the new GNU profiler.

Gprofng is a next-generation application profiling tool. Oracle recently published a blog post that outlines all of the new gprofng functionality. Those interested can see the post for all the details. This profiler currently supports C / C++ / Java / Scala and a focus on the CPU support for x86_64 and AArch64.


Gprofng lives within GNU Binutils. Oracle engineers have invested a lot of work into gprofng -- there is this earlier article from LPC 2021 with more details for those interested.

Merged yesterday in GCC Git is the initial compiler-side integration around gprofng thati s enabled when building the compiler with the "--enable-gprofng" option.