Git Product home page Git Product logo

armpmu's Introduction

This kernel module enable user access for Armv6 (ARM1136/56/76), ARMv7 & ARMv8 variants both in aarch32 and aarch64 mode.

The module does not preconfigure pmu control register, instead expects user to configure it from user space.

Module also enables all pmu interrupts when user space access is enabled, and disabled when user space is disabled.

user following syntax to cross compile to your device

TOOLCHAIN=prefix-of-your-toolchain ARCH=arch-of-the-kernel:arm/arm64 KDIR=path-to-kernel-src-root TCPATH=path-to-your-toolcahin make

you dont have to necesserly use all the env variables, ie: below should work:

TOOLCHAIN=arm-linux-gnueabihf ARCH=arm make

note: toolchain must not end with -, also make sure you are compiling with a compatible gcc version specifically on aarch64, the ABI of gcc should match.

Check Makefile for details.

armpmu's People

Contributors

hbiyik avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.