Skip to content

thoughtpolice/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.

About

Enable user-mode access to ARMv7/Linux performance counters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published