Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know userspace PMU access is enabled before I run the plugin?
Run cat /proc/sys/kernel/perf_user_access and check that it prints 1. If needed, run sudo sysctl kernel/perf_user_access=1 to enable user-space access.
What do I do if PMU access fails after a reboot?
Run sudo sysctl kernel/perf_user_access=1 again after a reboot. The setting doesn’t persist across restarts.
How should I organize my directories before I instrument my application?
Keep three parallel directories: the Linux kernel source tree, the PMUv3 plugin source, and a test application directory. If your layout differs, adjust your build to locate the plugin headers and libraries.
How do I identify each code section when collecting PMUv3 counters?
Initialize the bundle once, then give each section its own marker and index in the start and stop calls. The output labels the measurements by section.
What should I expect from the plotting tool, and how do I confirm my run captured data?
Use the Python plotting program to inspect raw PMU events and metrics such as MPKI, stalls, and IPC. Check that your plots contain data for the instrumented regions.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing