# Implement code-level performance analysis using the PMUv3 plugin

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/)
- [PMUv3 plugin features](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/intro/)
- [Download and build the PMUv3 plugin](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/before-you-begin/)
- [Instrument one section of code](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/instrumentation/)
- [Plot, visualize, and analyze the results](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/plot/)
- [Instrument multiple sections of code](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/instrumentation2/)
- [Next Steps](https://learn.arm.com/learning-paths/servers-and-cloud-computing/pmuv3_plugin_learning_path/_next-steps/)

## About this Learning Path

|  |  |
| --- | --- |
| Skill level: | Advanced |
| Reading time: | 1 hr |
| Last updated: | 18 Nov 2026 |

|  |  |
| --- | --- |
| Author: | Gayathri Narayana Yegna Narayanan , Arm |
| Arm IP: | [Neoverse](https://support.arm.com/?tab=compute-ip&Product%20Type=Infrastructure%20Processors) |
| Tags: | [Performance and Architecture](https://learn.arm.com/tag/performance-and-architecture/) [Arm AGI CPU](https://learn.arm.com/tag/arm-agi-cpu) [Linux](https://learn.arm.com/tag/linux) [C](https://learn.arm.com/tag/c) [CPP](https://learn.arm.com/tag/cpp) [Python](https://learn.arm.com/tag/python) [Runbook](https://learn.arm.com/tag/runbook) |

### Who is this for?
Engineers who want to carry out C or C++ performance analysis by instrumenting code at the block level.

### What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Generate a fine-grained, precise measurement of functions and other sections of code.
- Instrument your code to analyze a single section or multiple sections.
- Run and collect performance metrics and raw event values for any of the 15 event groups (bundles) in a single run.
- Use a tool to plot raw PMU event values along with KPI metric values such as MPKI, stalls, and IPC to aid performance visualization.

### Prerequisites
Before starting, you'll need the following prerequisites:
- An Arm-based computer running Linux, such as an Arm AGI CPU platform
- Some familiarity with Linux application performance analysis

### Summary
You’ll instrument C code with the PMUv3 plugin to measure selected regions on Arm-based Linux. First, you’ll enable user-space PMU access and build the plugin. Then, you’ll add headers and measurement calls to one code section before extending to multiple sections. Finally, you’ll plot raw counter values and derived metrics to compare the measured regions.
