[go: up one dir, main page]

Skip to content

zhiyisun/enable_arm_pmu

 
 

Repository files navigation

User-mode access to ARM PMU cycle counters

This repository contains a kernel module and library.

ARM performance monitor units (PMUs) are only available on ARMv7 machines. In general, this means you'll need a Cortex-A7 or better (A8, A9, A15, etc.)

More details are available in my blog post.

Testing

To compile, load, test and remove the module, you can just run:

$ sudo make runtests

Tested on

  • Samsung Chromebook
    • Exynos 5 Dual, 1.7gHz Cortex-A15
    • Ubuntu 13.04
  • ODROID-U2
    • Exynos 4 Quad, 1.7gHz Cortex-A9
    • Ubuntu/Linaro 12.10 derivative

TBD: PandaBoard.

Join in

Be sure to read the contributing guidelines. File bugs in the GitHub issue tracker.

Master git repository:

  • git clone https://github.com/thoughtpolice/enable_arm_pmu.git

There's also a BitBucket mirror:

  • git clone https://bitbucket.org/thoughtpolice/enable_arm_pmu.git

Authors

See AUTHORS.txt.

License

MIT. See LICENSE.txt for terms of copyright and redistribution.

Releases

No releases published

Packages

No packages published

Languages

  • C 79.9%
  • Makefile 13.2%
  • C++ 5.2%
  • Shell 1.7%