Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 764 Bytes

README.md

File metadata and controls

47 lines (40 loc) · 764 Bytes

InterruptLatencyDriver

InterruptLatencyDriver is a linux driver which measures the interrupt latency using the gpio.

Usage

Compile

Compile driver

Export KDIR variable with the kernel path

$ export KDIR=/path/to/kernel-source

Export CC variable with the compiler path

$ export CC=/path/to/compiler

Compile the module

$ cd src/driver
$ make

Compile example

Export LINARO variable with the compiler path

$ export LINARO=/path/to/compiler

Compile the example

$ cd src/example
$ make

Execute

Load the module.

$ insmod measure

Execute the application.

$ ./main

Platform

This software has been tested is the following platforms:

  • Beaglebone + Linux kernel(3.8.13-rt)