Are there any open source or examples for using raspberry pi's ARM cpu's PMU, performance counter?

It can be a bare metal example or user-space application.

I have seen this and that (which I don't understand how can I use to profile bare metal code). This link is work in progress.

closed as too broad by goldilocks Oct 2 '15 at 23:12

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • this question should be re-opened – b20000 Apr 24 '18 at 14:55
  • @b20000 Notice it was closed two years after it was asked, and during that time it received no attention from anyone willing and able to provide an answer. I likely did this during a spree of closing old questions with no answers to "clean up the site" and help our stats for graduation from beta status. Anyway, point being you'd be better off just re-asking it...if I reopen this now it will just continue to be ignored for eternity. – goldilocks Apr 25 '18 at 10:54

Browse other questions tagged or ask your own question.