llvm / llvm/llvm-project

[llvm-exegesis] Allow custom PFM counters

Open
#187,930 5 comments 0 reactions 1 assignee Claimed by @MaximPotapchik View on GitHub
tools:llvm-exegesis
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

It would be very useful if we could provide our own custom counters to libPFM / perfevent and not just rely on the libPFM event lists.

libPFM usually restricts itself to perf counters / masks in official CPU documentation, which might not be complete, or a counter has been hidden due to minor inconsistencies, even though the counter is still present on hardware and will typically function fine for the cases that llvm-exegesis is interested in.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.