Ampere Computing Logo
Ampere Computing Logo
Hero Image

Gprofng

What is Gprofng?

Gprofng is a modern sampling-based call-graph profiler (in the lineage of GNU gprof) for native Linux applications. It collects periodic program-counter samples to build statistical call graphs, letting you pinpoint where code spends time with far less overhead than heavy instrumentation.

Gprofng is characterized by three key components:

  • Sampling-based collection: periodic samples reduce runtime overhead while revealing hotspots.
  • Call-graph generation: aggregates caller/callee relationships to prioritize optimization targets.
  • Integration with tooling: works alongside build toolchains and other profilers for analysis (symbol resolution, flame graphs).

Why is Gprofng important?

Profilers like gprofng let developers find performance bottlenecks and quantify the impact of optimizations. On Arm servers (e.g., Ampere Altra), profiling is essential to tune compiler flags and threading for best performance-per-watt on the target architecture.

Relevant Links

  • perf Linux profiler: kernel perf wiki
  • GNU gprof docs
  • Performance tuning on Arm servers
  • Flame graphs: profiling visualization
Created At : June 2nd 2025, 6:43:05 pm
Last Updated At : November 4th 2025, 10:32:57 pm
Ampere Logo

Ampere Computing LLC

4655 Great America Parkway Suite 601

Santa Clara, CA 95054

image
image
image
image
image
 |  |  | 
© 2025 Ampere Computing LLC. All rights reserved. Ampere, Altra and the A and Ampere logos are registered trademarks or trademarks of Ampere Computing.
This site runs on Ampere Processors.