GithubHelp home page GithubHelp logo

thoughtpolice / enable_arm_pmu Goto Github PK

View Code? Open in Web Editor NEW
76.0 11.0 48.0 108 KB

Enable user-mode access to ARMv7/Linux performance counters

License: MIT License

C++ 6.02% C 92.05% Shell 1.93%

enable_arm_pmu's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.